RFR: 8255784: appcds/javaldr/ExceptionDuringDumpAtObjectsInitPhase.java test failed resulting in VM crash

Yumin Qi minqi at openjdk.java.net
Tue Nov 3 17:20:01 UTC 2020


Please review this simple change.
  The crash is caused by vm_exit_during_initialization which calls vm_exit, the latter will go check vm shutdown procedures. The shutdown checks thread and lock state, finds inconsistent state so the check fails. Here we could just use vm_direct_exit with some message as the process terminated.  vm_direct_exit just calls os::exit which quits without generating a coredump.

Tests: tier1-4

Thanks
Yumin

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

Commit messages:
 - 8255784: appcds/javaldr/ExceptionDuringDumpAtObjectsInitPhase.java test failed resulting in VM crash

Changes: https://git.openjdk.java.net/jdk/pull/1040/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1040&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8255784
  Stats: 13 lines in 4 files changed: 8 ins; 0 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1040.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1040/head:pull/1040

PR: https://git.openjdk.java.net/jdk/pull/1040


More information about the hotspot-runtime-dev mailing list