[jdk17u-dev] RFR: 8272417: ZGC: fastdebug build crashes when printing ClassLoaderData

Alexey Pavlyutkin duke at openjdk.org
Mon Aug 22 08:42:20 UTC 2022


Hi! Here is backport of 8272417 that fixes a crash in ClassLoaderData logging that takes place for debug build. The patch is applied cleanly

Verification (amd64 / Ubuntu 20.04)

alex at alex-VirtualBox:~/8272417$ echo "public class A { public static void main(String... args) { System.gc(); } }" > A.java
alex at alex-VirtualBox:~/8272417$ ./build/linux-x86_64-server-fastdebug/images/jdk/bin/java -XX:+UseZGC -XX:+VerifyAfterGC -Xlog:gc*=trace A.java

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

Commit messages:
 - Backport 741f58c18c3dc49c5e1b793e411d8479770f2772

Changes: https://git.openjdk.org/jdk17u-dev/pull/643/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=643&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8272417
  Stats: 7 lines in 1 file changed: 2 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/643.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev pull/643/head:pull/643

PR: https://git.openjdk.org/jdk17u-dev/pull/643


More information about the jdk-updates-dev mailing list