mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8025996: Track metaspace usage when metaspace is expanded
Reviewed-by: coleenp, ehelin
This commit is contained in:
parent
55cbe80300
commit
2cbd654963
2 changed files with 22 additions and 0 deletions
|
@ -148,6 +148,12 @@ public:
|
|||
static void track_code_cache_memory_usage() {
|
||||
track_memory_pool_usage(_code_heap_pool);
|
||||
}
|
||||
static void track_metaspace_memory_usage() {
|
||||
track_memory_pool_usage(_metaspace_pool);
|
||||
}
|
||||
static void track_compressed_class_memory_usage() {
|
||||
track_memory_pool_usage(_compressed_class_pool);
|
||||
}
|
||||
static void track_memory_pool_usage(MemoryPool* pool);
|
||||
|
||||
static void gc_begin(bool fullGC, bool recordGCBeginTime,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue