RFR: 8272417: ZGC: fastdebug build crashes when printing ClassLoaderData
Dalibor Topic
robilad at openjdk.java.net
Thu Aug 19 15:08:37 UTC 2021
On Fri, 13 Aug 2021 07:14:51 GMT, Tongbao Zhang <github.com+1866174+tbzhang at openjdk.org> wrote:
> Following test fails on fastdebug build with the options: "-XX:+UseZGC -XX:+VerifyAfterGC -Xlog:gc*=trace". It crashes on the unknown claim value of the ClassLoaderData
>
> public class A {
> public static void main(String... args) {
> System.gc();
> }
> }
>
> The unknown claim value of the ClassLoaderData is "ClassLoaderData::_claim_other | ClassLoaderData::_claim_strong" which is introduced by the ZVerifyOopClosure. This patch clears the CLD's claimed marks after the ZGC verification
Hi, please contact me at Dalibor.Topic at oracle.com so that I can mark your account as verified.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5107
More information about the hotspot-gc-dev
mailing list