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

Relinker have concurrency issues #106

Open
lbtrace opened this issue Dec 21, 2023 · 0 comments
Open

Relinker have concurrency issues #106

lbtrace opened this issue Dec 21, 2023 · 0 comments

Comments

@lbtrace
Copy link

lbtrace commented Dec 21, 2023

Relinker should be thread safe, but ReLinkerInstance implement code:

public class ReLinkerInstance {
    private static final String LIB_DIR = "lib";

    protected final Set<String> loadedLibraries = new HashSet<String>();
    ......
}

loadedLibraries is NOT thread safe set, although system.loadLibrary API is thread-safe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant