mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
8255784: appcds/javaldr/ExceptionDuringDumpAtObjectsInitPhase.java test failed resulting in VM crash
Reviewed-by: ccheung, iklam
This commit is contained in:
parent
eab99f37ce
commit
cdf9cd8afa
4 changed files with 19 additions and 9 deletions
|
@ -578,6 +578,13 @@ void vm_direct_exit(int code) {
|
|||
os::exit(code);
|
||||
}
|
||||
|
||||
void vm_direct_exit(int code, const char* message) {
|
||||
if (message != nullptr) {
|
||||
tty->print_cr("%s", message);
|
||||
}
|
||||
vm_direct_exit(code);
|
||||
}
|
||||
|
||||
void vm_perform_shutdown_actions() {
|
||||
if (is_init_completed()) {
|
||||
Thread* thread = Thread::current_or_null();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue