RFR: 8297740: runtime/ClassUnload/UnloadTest.java failed with "Test failed: should still be live"
Stefan Karlsson
stefank at openjdk.org
Tue Nov 29 10:46:02 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.
Could an alternative be to print the object after the liveness check, but before the triggering of the class unloading? I think that's the approach @kstefanj is going for with #11300. Maybe you should sync up and discuss a common solution?
-------------
PR: https://git.openjdk.org/jdk/pull/11409
More information about the hotspot-runtime-dev
mailing list