< prev index next >

src/hotspot/share/memory/metaspace/metaspaceReporter.cpp

Print this page
@@ -36,10 +36,11 @@
  #include "memory/metaspace/metaspaceStatistics.hpp"
  #include "memory/metaspace/printCLDMetaspaceInfoClosure.hpp"
  #include "memory/metaspace/runningCounters.hpp"
  #include "memory/metaspace/virtualSpaceList.hpp"
  #include "memory/metaspaceUtils.hpp"
+ #include "oops/compressedOops.hpp"
  #include "runtime/os.hpp"
  
  namespace metaspace {
  
  static const char* describe_spacetype(Metaspace::MetaspaceType st) {

@@ -103,14 +104,19 @@
    }
    out->cr();
    if (Metaspace::using_class_space()) {
      out->print("CompressedClassSpaceSize: ");
      print_human_readable_size(out, CompressedClassSpaceSize, scale);
+     out->cr();
+     out->print_cr("KlassAlignmentInBytes: %d", KlassAlignmentInBytes);
+     out->print("KlassEncodingMetaspaceMax: ");
+     print_human_readable_size(out, KlassEncodingMetaspaceMax, scale);
+     out->cr();
+     CompressedKlassPointers::print_mode(out);
    } else {
-     out->print("No class space");
+     out->print_cr("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);
< prev index next >