RFR 8179235: PackageEntryTables should be created eagerly

harold seigel harold.seigel at oracle.com
Thu Apr 27 12:42:52 UTC 2017


Hi David,

Thanks for the review!

Harold


On 4/27/2017 3:07 AM, David Holmes wrote:
> Hi Harold,
>
> This looks fine to me.
>
> Thanks,
> David
>
> On 26/04/2017 11:58 PM, harold seigel wrote:
>> Hi,
>>
>> 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:
>> http://cr.openjdk.java.net/~hseigel/bug_8179235/webrev/index.html
>>
>> 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