RFR: 8306476: CDS ArchiveHeapTestClass.java test asserts when vm_exit is called on VM thread

Matias Saavedra Silva matsaave at openjdk.org
Fri Apr 21 16:15:48 UTC 2023


The change in [JDK-8303422](https://bugs.openjdk.org/browse/JDK-8303422) consolidated the different ways to exit the VM during CDS errors, but it included a small mistake. The use of `vm_exit()` is unsafe in some cases, so the method was updated to use `vm_direct_exit()` instead. Verified with tier 1-5 tests.

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

Commit messages:
 - 8306476: CDS ArchiveHeapTestClass.java test asserts when vm_exit is called on VM thread

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

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


More information about the hotspot-runtime-dev mailing list