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

Daniel D. Daugherty dcubed at openjdk.org
Tue Nov 29 19:26:33 UTC 2022


On Tue, 29 Nov 2022 09:28:28 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> 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.

Thumbs up. This is a trivial fix.

I'm fine with this current fix. This bug is generating 2 failures per Tier4 job set
so it's a bit on the noisy side. Further refinements can be done with an RFE.

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

Marked as reviewed by dcubed (Reviewer).

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


More information about the hotspot-runtime-dev mailing list