equal
deleted
inserted
replaced
26 |
26 |
27 #include "memory/allocation.hpp" |
27 #include "memory/allocation.hpp" |
28 #include "memory/memRegion.hpp" |
28 #include "memory/memRegion.hpp" |
29 #include "memory/metaspaceChunkFreeListSummary.hpp" |
29 #include "memory/metaspaceChunkFreeListSummary.hpp" |
30 #include "memory/virtualspace.hpp" |
30 #include "memory/virtualspace.hpp" |
|
31 #include "memory/metaspace/metaspaceSizesSnapshot.hpp" |
31 #include "utilities/exceptions.hpp" |
32 #include "utilities/exceptions.hpp" |
32 |
33 |
33 // Metaspace |
34 // Metaspace |
34 // |
35 // |
35 // Metaspaces are Arenas for the VM's metadata. |
36 // Metaspaces are Arenas for the VM's metadata. |
408 static void print_report(outputStream* out, size_t scale = 0, int flags = 0); |
409 static void print_report(outputStream* out, size_t scale = 0, int flags = 0); |
409 |
410 |
410 static bool has_chunk_free_list(Metaspace::MetadataType mdtype); |
411 static bool has_chunk_free_list(Metaspace::MetadataType mdtype); |
411 static MetaspaceChunkFreeListSummary chunk_free_list_summary(Metaspace::MetadataType mdtype); |
412 static MetaspaceChunkFreeListSummary chunk_free_list_summary(Metaspace::MetadataType mdtype); |
412 |
413 |
413 // Print change in used metadata. |
414 // Log change in used metadata. |
414 static void print_metaspace_change(size_t prev_metadata_used); |
415 static void print_metaspace_change(const metaspace::MetaspaceSizesSnapshot& pre_meta_values); |
415 static void print_on(outputStream * out); |
416 static void print_on(outputStream * out); |
416 |
417 |
417 // Prints an ASCII representation of the given space. |
418 // Prints an ASCII representation of the given space. |
418 static void print_metaspace_map(outputStream* out, Metaspace::MetadataType mdtype); |
419 static void print_metaspace_map(outputStream* out, Metaspace::MetadataType mdtype); |
419 |
420 |