Skip to content
Permalink
Browse files
8262163: Extend settings printout in jcmd VM.metaspace
Reviewed-by: lucy
  • Loading branch information
tstuefe committed Feb 25, 2021
1 parent a83e802 commit ea48a0bb5617e0e6e3993995ffff754b5e931c9e
Showing 1 changed file with 10 additions and 0 deletions.
@@ -108,8 +108,18 @@ static void print_settings(outputStream* out, size_t scale) {
if (Metaspace::using_class_space()) {
out->print("CompressedClassSpaceSize: ");
print_human_readable_size(out, CompressedClassSpaceSize, scale);
} else {
out->print("No class space");
}
out->cr();
out->print("Initial GC threshold: ");
print_human_readable_size(out, MetaspaceSize, scale);
out->cr();
out->print("Current GC threshold: ");
print_human_readable_size(out, MetaspaceGC::capacity_until_GC(), scale);
out->cr();
out->print_cr("CDS: %s", (UseSharedSpaces ? "on" : (DumpSharedSpaces ? "dump" : "off")));
out->print_cr("MetaspaceReclaimPolicy: %s", MetaspaceReclaimPolicy);
Settings::print_on(out);
}

0 comments on commit ea48a0b

Please sign in to comment.