Mercurial > hg > truffle
diff src/share/vm/memory/metaspace.hpp @ 17771:9fdaa79b0c27
8036703: Add trace event with statistics for the metaspace chunk free lists
Reviewed-by: stefank, mgerdin, coleenp, egahlin
author | ehelin |
---|---|
date | Fri, 21 Mar 2014 10:31:51 +0100 |
parents | 5af31f70a866 |
children | 62c54fcc0a35 |
line wrap: on
line diff
--- a/src/share/vm/memory/metaspace.hpp Fri Mar 21 10:28:07 2014 +0100 +++ b/src/share/vm/memory/metaspace.hpp Fri Mar 21 10:31:51 2014 +0100 @@ -26,6 +26,7 @@ #include "memory/allocation.hpp" #include "memory/memRegion.hpp" +#include "memory/metaspaceChunkFreeListSummary.hpp" #include "runtime/virtualspace.hpp" #include "utilities/exceptions.hpp" @@ -354,6 +355,9 @@ return min_chunk_size_words() * BytesPerWord; } + static bool has_chunk_free_list(Metaspace::MetadataType mdtype); + static MetaspaceChunkFreeListSummary chunk_free_list_summary(Metaspace::MetadataType mdtype); + // Print change in used metadata. static void print_metaspace_change(size_t prev_metadata_used); static void print_on(outputStream * out);