mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8036696: Add metaspace gc threshold to metaspace summary trace event
Reviewed-by: jmasa, stefank, mgerdin
This commit is contained in:
parent
731ef44b87
commit
1fb0683664
4 changed files with 8 additions and 4 deletions
|
@ -97,7 +97,7 @@ MetaspaceSummary CollectedHeap::create_metaspace_summary() {
|
|||
MetaspaceAux::allocated_used_bytes(Metaspace::ClassType),
|
||||
MetaspaceAux::reserved_bytes(Metaspace::ClassType));
|
||||
|
||||
return MetaspaceSummary(meta_space, data_space, class_space);
|
||||
return MetaspaceSummary(MetaspaceGC::capacity_until_GC(), meta_space, data_space, class_space);
|
||||
}
|
||||
|
||||
void CollectedHeap::print_heap_before_gc() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue