Review Request JDK-8164512: Replace ClassLoader use of finalizer with phantom reference to unload native library

Alan Bateman Alan.Bateman at oracle.com
Tue Oct 10 08:44:19 UTC 2017



On 09/10/2017 21:17, mandy chung wrote:
> David, Peter, Alan
>
> The VM has a fast path to search the symbol from libjava.so first for 
> bootstrap loader.  That was the case I mostly concern about 
> performance and it's not impacted by this change.   Also I consulted 
> with Claes on the performance impact.   I took your suggestion and 
> made systemNativeLibraries and nativeLibraries volatile.
>
> Updated webrev:
> http://cr.openjdk.java.net/~mchung/jdk10/webrevs/8164512/webrev.04
This update looks good to me.

-Alan


More information about the hotspot-runtime-dev mailing list