ReLinker icon indicating copy to clipboard operation
ReLinker copied to clipboard

Relinker have concurrency issues

Open lbtrace opened this issue 2 years ago • 0 comments

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

lbtrace avatar Dec 21 '23 09:12 lbtrace