< prev index next >

src/hotspot/share/memory/metaspace.hpp

Print this page
rev 49017 : [mq]: metaspace-stat


 339   }
 340 
 341   static size_t committed_bytes(Metaspace::MetadataType mdtype);
 342   static size_t committed_bytes() {
 343     return committed_bytes(Metaspace::ClassType) +
 344            committed_bytes(Metaspace::NonClassType);
 345   }
 346 
 347   static size_t min_chunk_size_words();
 348   static size_t min_chunk_size_bytes() {
 349     return min_chunk_size_words() * BytesPerWord;
 350   }
 351 
 352   static void print_metadata_for_nmt(outputStream* out, size_t scale = K);
 353 
 354   static bool has_chunk_free_list(Metaspace::MetadataType mdtype);
 355   static MetaspaceChunkFreeListSummary chunk_free_list_summary(Metaspace::MetadataType mdtype);
 356 
 357   // Print change in used metadata.
 358   static void print_metaspace_change(size_t prev_metadata_used);

 359   static void print_on(outputStream * out);
 360   static void print_on(outputStream * out, Metaspace::MetadataType mdtype);
 361 
 362   static void print_class_waste(outputStream* out);
 363   static void print_waste(outputStream* out);
 364 
 365   // Prints an ASCII representation of the given space.
 366   static void print_metaspace_map(outputStream* out, Metaspace::MetadataType mdtype);
 367 
 368   static void dump(outputStream* out);
 369   static void verify_free_chunks();
 370   // Checks that the values returned by allocated_capacity_bytes() and
 371   // capacity_bytes_slow() are the same.
 372   static void verify_capacity();
 373   static void verify_used();
 374   static void verify_metrics();
 375 };
 376 
 377 // Metaspace are deallocated when their class loader are GC'ed.
 378 // This class implements a policy for inducing GC's to recover




 339   }
 340 
 341   static size_t committed_bytes(Metaspace::MetadataType mdtype);
 342   static size_t committed_bytes() {
 343     return committed_bytes(Metaspace::ClassType) +
 344            committed_bytes(Metaspace::NonClassType);
 345   }
 346 
 347   static size_t min_chunk_size_words();
 348   static size_t min_chunk_size_bytes() {
 349     return min_chunk_size_words() * BytesPerWord;
 350   }
 351 
 352   static void print_metadata_for_nmt(outputStream* out, size_t scale = K);
 353 
 354   static bool has_chunk_free_list(Metaspace::MetadataType mdtype);
 355   static MetaspaceChunkFreeListSummary chunk_free_list_summary(Metaspace::MetadataType mdtype);
 356 
 357   // Print change in used metadata.
 358   static void print_metaspace_change(size_t prev_metadata_used);
 359 
 360   static void print_on(outputStream * out);
 361   static void print_on(outputStream * out, Metaspace::MetadataType mdtype);
 362 
 363   static void print_class_waste(outputStream* out);
 364   static void print_waste(outputStream* out);
 365 
 366   // Prints an ASCII representation of the given space.
 367   static void print_metaspace_map(outputStream* out, Metaspace::MetadataType mdtype);
 368 
 369   static void dump(outputStream* out);
 370   static void verify_free_chunks();
 371   // Checks that the values returned by allocated_capacity_bytes() and
 372   // capacity_bytes_slow() are the same.
 373   static void verify_capacity();
 374   static void verify_used();
 375   static void verify_metrics();
 376 };
 377 
 378 // Metaspace are deallocated when their class loader are GC'ed.
 379 // This class implements a policy for inducing GC's to recover


< prev index next >