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

Yumin Qi minqi at openjdk.java.net
Tue Nov 3 20:55:56 UTC 2020


On Tue, 3 Nov 2020 17:12:06 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

This pull request has now been integrated.

Changeset: cdf9cd8a
Author:    Yumin Qi <minqi at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/cdf9cd8a
Stats:     19 lines in 4 files changed: 10 ins; 0 del; 9 mod

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

Reviewed-by: ccheung, iklam

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

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


More information about the hotspot-runtime-dev mailing list