8262163: Extend settings printout in jcmd VM.metaspace
Reviewed-by: lucy
This commit is contained in:
parent
a83e802bce
commit
ea48a0bb56
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user