RFR: 8308464: Shared array class should not always be loaded in boot loader

Calvin Cheung ccheung at openjdk.org
Mon Aug 28 22:08:15 UTC 2023


On Mon, 28 Aug 2023 01:07:40 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Please review this fix for using the appropriate class loader when loading a shared array class. The log output from -`Xlog:cds+unshareable=trace` is also updated to include the class loader information.
>> 
>> For example:
>> before:
>> `[0.203s][trace][cds,unshareable ] restore: ArrayKlassesApp`
>> 
>> after:
>> `[0.203s][trace][cds,unshareable ] restore: ArrayKlassesApp with class loader: jdk.internal.loader.ClassLoaders$AppClassLoader`
>> 
>> Passed tiers 1- 3 tests.
>
> LGTM. Thanks.

Thanks @dholmes-ora, @iklam for the review!

-------------

PR Comment: https://git.openjdk.org/jdk/pull/15421#issuecomment-1696489739


More information about the hotspot-runtime-dev mailing list