mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +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
|
@ -525,7 +525,8 @@ void Klass::metaspace_pointers_do(MetaspaceClosure* it) {
|
|||
}
|
||||
|
||||
void Klass::remove_unshareable_info() {
|
||||
assert (DumpSharedSpaces, "only called for DumpSharedSpaces");
|
||||
assert (DumpSharedSpaces || DynamicDumpSharedSpaces,
|
||||
"only called during CDS dump time");
|
||||
JFR_ONLY(REMOVE_ID(this);)
|
||||
if (log_is_enabled(Trace, cds, unshareable)) {
|
||||
ResourceMark rm;
|
||||
|
@ -542,7 +543,7 @@ void Klass::remove_unshareable_info() {
|
|||
}
|
||||
|
||||
void Klass::remove_java_mirror() {
|
||||
assert (DumpSharedSpaces, "only called for DumpSharedSpaces");
|
||||
assert(DumpSharedSpaces || DynamicDumpSharedSpaces, "only called during CDS dump time");
|
||||
if (log_is_enabled(Trace, cds, unshareable)) {
|
||||
ResourceMark rm;
|
||||
log_trace(cds, unshareable)("remove java_mirror: %s", external_name());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue