mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
8207812: Implement Dynamic CDS Archive
Improve the usability of AppCDS Co-authored-by: Ioi Lam <ioi.lam@oracle.com> Co-authored-by: Jiangli Zhou <jianglizhou@google.com> Reviewed-by: acorn, jiangli, mseledtsov
This commit is contained in:
parent
e6c52060dc
commit
72dc5721e0
120 changed files with 6325 additions and 862 deletions
|
@ -43,6 +43,7 @@
|
|||
#include "logging/logStream.hpp"
|
||||
#include "memory/oopFactory.hpp"
|
||||
#include "memory/resourceArea.hpp"
|
||||
#include "memory/dynamicArchive.hpp"
|
||||
#include "memory/universe.hpp"
|
||||
#include "oops/constantPool.hpp"
|
||||
#include "oops/generateOopMap.hpp"
|
||||
|
@ -498,6 +499,12 @@ void before_exit(JavaThread* thread) {
|
|||
// Note: we don't wait until it actually dies.
|
||||
os::terminate_signal_thread();
|
||||
|
||||
#if INCLUDE_CDS
|
||||
if (DynamicDumpSharedSpaces) {
|
||||
DynamicArchive::dump();
|
||||
}
|
||||
#endif
|
||||
|
||||
print_statistics();
|
||||
Universe::heap()->print_tracing_info();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue