RFR 8179235: PackageEntryTables should be created eagerly

harold seigel harold.seigel at oracle.com
Wed Apr 26 13:58:58 UTC 2017


Please review this JDK-10 enhancement to create ClassLoaderData 
PackageEntryTables eagerly.  Most class loaders are going to load at 
least one class, triggering the current lazy creation of 
PackageEntryTables.  So, PackageEntryTables should be created eagerly.  
Then, no synchronization is needed for PackageEntryTable creation.

Open Webrev: 

JBS Bug: https://bugs.openjdk.java.net/browse/JDK-8179235

The enhancement was tested with JCK tests, the JTreg hotspot, java/io, 
java/lang, java/util and other tests, the RBT tier2 -tier5 tests, the 
co-located NSK tests, and with JPRT.

Thanks, Harold

More information about the hotspot-runtime-dev mailing list