RFR: 8273505: runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java#default-cl crashed with SIGSEGV in MetaspaceShared::link_shared_classes
Ioi Lam
iklam at openjdk.java.net
Fri Sep 17 18:53:45 UTC 2021
On Fri, 17 Sep 2021 17:56:44 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:
> Please review this small patch for keeping the class loader, which is the holder of the `ClassLoaderData`, alive during class linking within `MetaspaceShared::link_shared_classes()`. Prior to this fix, the `ClassLoaderData::inc_keep_alive()` was used in an attempt to keep the `ClassLoaderData` alive but that was for hidden classes only.
>
> Testing: tiers 1 - 4.
LGTM
-------------
Marked as reviewed by iklam (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/5566
More information about the hotspot-runtime-dev
mailing list