RFR: 8272417: ZGC: fastdebug build crashes when printing ClassLoaderData [v2]
Stefan Karlsson
stefank at openjdk.java.net
Fri Aug 20 08:17:24 UTC 2021
On Fri, 20 Aug 2021 08:05:47 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
>
> Tongbao Zhang has updated the pull request incrementally with one additional commit since the last revision:
>
> fix the printing code
Looks good. Thanks.
-------------
Marked as reviewed by stefank (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/5107
More information about the hotspot-gc-dev
mailing list