RFR: 8297740: runtime/ClassUnload/UnloadTest.java failed with "Test failed: should still be live"

Albert Mingkun Yang ayang at openjdk.org
Tue Nov 29 09:38:35 UTC 2022


Fix the failure in `-Xcomp` mode. Thanks to David's analysis that a local variable is not enough to keep the object live; using a global variable now.

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

Commit messages:
 - fix-in-xcomp

Changes: https://git.openjdk.org/jdk/pull/11409/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11409&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8297740
  Stats: 6 lines in 1 file changed: 4 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/11409.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11409/head:pull/11409

PR: https://git.openjdk.org/jdk/pull/11409


More information about the hotspot-runtime-dev mailing list