Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

native-support-library should help loading native libraries just once (SingletonLoader) #15195

Closed
Tracked by #15216
mxtartaglia-sl opened this issue Aug 28, 2024 · 0 comments
Assignees
Labels
Platform Tickets pertaining to the platform

Comments

@mxtartaglia-sl
Copy link
Contributor

mxtartaglia-sl commented Aug 28, 2024

Given that loading the same library leads to issues in the JVM, native-support-library should help users load a determined library only once, even if it is requested multiple times.
This would help split the responsibilities of JNI bindings classes into multiple classes. Today, that is impossible, as we need a centralized loader for the library to ensure it only happens once.

@mxtartaglia-sl mxtartaglia-sl added the Platform Tickets pertaining to the platform label Aug 28, 2024
@mxtartaglia-sl mxtartaglia-sl changed the title Native library should be only loaded once in the whole system native-support-library should help loading native libraries just once (SingletonLoader) Aug 28, 2024
@lpetrovic05 lpetrovic05 self-assigned this Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform Tickets pertaining to the platform
Projects
None yet
Development

No branches or pull requests

2 participants