Skip to content

Commit 62acc88

Browse files
author
Matias Saavedra Silva
committed
8306476: CDS ArchiveHeapTestClass.java test asserts when vm_exit is called on VM thread
Reviewed-by: ccheung
1 parent 7400aff commit 62acc88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/cds/metaspaceShared.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ void MetaspaceShared::unrecoverable_writing_error(const char* message) {
899899
if (message != nullptr) {
900900
log_error(cds)("%s", message);
901901
}
902-
vm_exit(1);
902+
vm_direct_exit(1);
903903
}
904904

905905
// We have finished dumping the static archive. At this point, there may be pending VM

0 commit comments

Comments
 (0)