2052 // Set the number of GC threads to be used in this collection |
2052 // Set the number of GC threads to be used in this collection |
2053 gc_task_manager()->set_active_gang(); |
2053 gc_task_manager()->set_active_gang(); |
2054 gc_task_manager()->task_idle_workers(); |
2054 gc_task_manager()->task_idle_workers(); |
2055 heap->set_par_threads(gc_task_manager()->active_workers()); |
2055 heap->set_par_threads(gc_task_manager()->active_workers()); |
2056 |
2056 |
2057 gclog_or_tty->date_stamp(PrintGC && PrintGCDateStamps); |
|
2058 TraceCPUTime tcpu(PrintGCDetails, true, gclog_or_tty); |
2057 TraceCPUTime tcpu(PrintGCDetails, true, gclog_or_tty); |
2059 GCTraceTime t1(GCCauseString("Full GC", gc_cause), PrintGC, !PrintGCDetails, NULL, _gc_tracer.gc_id()); |
2058 GCTraceTime t1(GCCauseString("Full GC", gc_cause), PrintGC, !PrintGCDetails, NULL, _gc_tracer.gc_id()); |
2060 TraceCollectorStats tcs(counters()); |
2059 TraceCollectorStats tcs(counters()); |
2061 TraceMemoryManagerStats tms(true /* Full GC */,gc_cause); |
2060 TraceMemoryManagerStats tms(true /* Full GC */,gc_cause); |
2062 |
2061 |