< prev index next >

src/hotspot/share/memory/metaspace.hpp

Print this page
rev 47755 : 8189864: Provide an ascii map to visualize metaspace fragmentation
Reviewed-by: goetz, coleenp

@@ -359,10 +359,14 @@
   static void print_on(outputStream * out);
   static void print_on(outputStream * out, Metaspace::MetadataType mdtype);
 
   static void print_class_waste(outputStream* out);
   static void print_waste(outputStream* out);
+
+  // Prints an ASCII representation of the given space.
+  static void print_metaspace_map(outputStream* out, Metaspace::MetadataType mdtype);
+
   static void dump(outputStream* out);
   static void verify_free_chunks();
   // Checks that the values returned by allocated_capacity_bytes() and
   // capacity_bytes_slow() are the same.
   static void verify_capacity();
< prev index next >