Integrated: 8308464: Shared array class should not always be loaded in boot loader
Calvin Cheung
ccheung at openjdk.org
Mon Aug 28 22:08:17 UTC 2023
On Thu, 24 Aug 2023 19:35:25 GMT, Calvin Cheung <ccheung 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.
This pull request has now been integrated.
Changeset: 1cb2cc65
Author: Calvin Cheung <ccheung at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/1cb2cc65873ab25f5bafeae042e3fd99be94ea7e
Stats: 37 lines in 4 files changed: 22 ins; 5 del; 10 mod
8308464: Shared array class should not always be loaded in boot loader
Reviewed-by: dholmes, iklam
-------------
PR: https://git.openjdk.org/jdk/pull/15421
More information about the hotspot-runtime-dev
mailing list