RFR: 8272417: ZGC: fastdebug build crashes when printing ClassLoaderData [v2]

Tongbao Zhang github.com+1866174+tbzhang at openjdk.java.net
Fri Aug 20 08:05:47 UTC 2021


> 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

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5107/files
  - new: https://git.openjdk.java.net/jdk/pull/5107/files/bcf609ef..c7912154

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5107&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5107&range=00-01

  Stats: 12 lines in 2 files changed: 2 ins; 5 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5107.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5107/head:pull/5107

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



More information about the hotspot-gc-dev mailing list