mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8223575: add subspace transitions to gc+metaspace=info log lines
Reviewed-by: stuefe, tschatzl
This commit is contained in:
parent
5c12a30062
commit
dacaff48e2
12 changed files with 152 additions and 29 deletions
|
@ -1779,7 +1779,7 @@ bool PSParallelCompact::invoke_no_policy(bool maximum_heap_compaction) {
|
|||
// miscellaneous bookkeeping.
|
||||
pre_compact();
|
||||
|
||||
PreGCValues pre_gc_values(heap);
|
||||
const PreGCValues pre_gc_values(heap);
|
||||
|
||||
// Get the compaction manager reserved for the VM thread.
|
||||
ParCompactionManager* const vmthread_cm =
|
||||
|
@ -1925,7 +1925,7 @@ bool PSParallelCompact::invoke_no_policy(bool maximum_heap_compaction) {
|
|||
|
||||
young_gen->print_used_change(pre_gc_values.young_gen_used());
|
||||
old_gen->print_used_change(pre_gc_values.old_gen_used());
|
||||
MetaspaceUtils::print_metaspace_change(pre_gc_values.metadata_used());
|
||||
MetaspaceUtils::print_metaspace_change(pre_gc_values.metaspace_sizes());
|
||||
|
||||
// Track memory usage and detect low memory
|
||||
MemoryService::track_memory_usage();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue