Integrated: 8273505: runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java#default-cl crashed with SIGSEGV in MetaspaceShared::link_shared_classes

Calvin Cheung ccheung at openjdk.java.net
Mon Sep 20 16:59:59 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.

This pull request has now been integrated.

Changeset: a67f0f9d
Author:    Calvin Cheung <ccheung at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/a67f0f9dc04200c22db05e277346f24d31306b53
Stats:     15 lines in 2 files changed: 5 ins; 7 del; 3 mod

8273505: runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java#default-cl crashed with SIGSEGV in MetaspaceShared::link_shared_classes

Reviewed-by: iklam, minqi

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

PR: https://git.openjdk.java.net/jdk/pull/5566


More information about the hotspot-runtime-dev mailing list