mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
8264735: Make dynamic dump repeatable
Reviewed-by: ccheung, iklam
This commit is contained in:
parent
d1cecaaa22
commit
f741e4ca74
14 changed files with 208 additions and 36 deletions
|
@ -502,7 +502,7 @@ void before_exit(JavaThread* thread) {
|
|||
#if INCLUDE_CDS
|
||||
if (DynamicDumpSharedSpaces) {
|
||||
ExceptionMark em(thread);
|
||||
DynamicArchive::dump();
|
||||
DynamicArchive::dump(thread);
|
||||
if (thread->has_pending_exception()) {
|
||||
ResourceMark rm(thread);
|
||||
oop pending_exception = thread->pending_exception();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue