< prev index next >
src/share/vm/gc/parallel/psParallelCompact.cpp
Print this page
*** 1744,1755 ****
if (ZapUnusedHeapArea) {
// Save information needed to minimize mangling
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();
PreGCValues pre_gc_values(heap);
--- 1744,1753 ----
*** 1766,1775 ****
--- 1764,1776 ----
gc_task_manager()->set_active_gang();
gc_task_manager()->task_idle_workers();
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);
if (TraceOldGenTime) accumulated_time()->start();
*** 1900,1909 ****
--- 1901,1912 ----
// Track memory usage and detect low memory
MemoryService::track_memory_usage();
heap->update_counters();
gc_task_manager()->release_idle_workers();
+
+ heap->post_full_gc_dump(&_gc_timer);
}
#ifdef ASSERT
for (size_t i = 0; i < ParallelGCThreads + 1; ++i) {
ParCompactionManager* const cm =
*** 1938,1949 ****
log_debug(gc, task, time)("VM-Thread " JLONG_FORMAT " " JLONG_FORMAT " " JLONG_FORMAT,
marking_start.ticks(), compaction_start.ticks(),
collection_exit.ticks());
gc_task_manager()->print_task_time_stamps();
- heap->post_full_gc_dump(&_gc_timer);
-
#ifdef TRACESPINNING
ParallelTaskTerminator::print_termination_counts();
#endif
AdaptiveSizePolicyOutput::print(size_policy, heap->total_collections());
--- 1941,1950 ----
< prev index next >