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

Ioi Lam iklam at openjdk.java.net
Tue Nov 3 19:13:54 UTC 2020


On Tue, 3 Nov 2020 18:55:16 GMT, Yumin Qi <minqi at openjdk.org> wrote:

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

Marked as reviewed by iklam (Reviewer).

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

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


More information about the hotspot-runtime-dev mailing list