mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8149035: Make the full_gc_dump() calls be recorded as part of the GC
Reviewed-by: jmasa, sjohanss
This commit is contained in:
parent
d2da0cb052
commit
1322b0fe56
9 changed files with 29 additions and 33 deletions
|
@ -1746,8 +1746,6 @@ bool PSParallelCompact::invoke_no_policy(bool maximum_heap_compaction) {
|
|||
heap->record_gen_tops_before_GC();
|
||||
}
|
||||
|
||||
heap->pre_full_gc_dump(&_gc_timer);
|
||||
|
||||
// Make sure data structures are sane, make the heap parsable, and do other
|
||||
// miscellaneous bookkeeping.
|
||||
pre_compact();
|
||||
|
@ -1768,6 +1766,9 @@ bool PSParallelCompact::invoke_no_policy(bool maximum_heap_compaction) {
|
|||
|
||||
GCTraceCPUTime tcpu;
|
||||
GCTraceTime(Info, gc) tm("Pause Full", NULL, gc_cause, true);
|
||||
|
||||
heap->pre_full_gc_dump(&_gc_timer);
|
||||
|
||||
TraceCollectorStats tcs(counters());
|
||||
TraceMemoryManagerStats tms(true /* Full GC */,gc_cause);
|
||||
|
||||
|
@ -1902,6 +1903,8 @@ bool PSParallelCompact::invoke_no_policy(bool maximum_heap_compaction) {
|
|||
MemoryService::track_memory_usage();
|
||||
heap->update_counters();
|
||||
gc_task_manager()->release_idle_workers();
|
||||
|
||||
heap->post_full_gc_dump(&_gc_timer);
|
||||
}
|
||||
|
||||
#ifdef ASSERT
|
||||
|
@ -1940,8 +1943,6 @@ bool PSParallelCompact::invoke_no_policy(bool maximum_heap_compaction) {
|
|||
collection_exit.ticks());
|
||||
gc_task_manager()->print_task_time_stamps();
|
||||
|
||||
heap->post_full_gc_dump(&_gc_timer);
|
||||
|
||||
#ifdef TRACESPINNING
|
||||
ParallelTaskTerminator::print_termination_counts();
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue