RFR: 8255784: appcds/javaldr/ExceptionDuringDumpAtObjectsInitPhase.java test failed resulting in VM crash [v2]
Yumin Qi
minqi at openjdk.java.net
Tue Nov 3 18:55:16 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
Yumin Qi has updated the pull request incrementally with one additional commit since the last revision:
Changed vm_exit to vm_direct_exit to avoid shutdown check
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/1040/files
- new: https://git.openjdk.java.net/jdk/pull/1040/files/e1796d79..e3bb1adc
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1040&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1040&range=00-01
Stats: 6 lines in 1 file changed: 2 ins; 0 del; 4 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