equal
deleted
inserted
replaced
2027 HandleMark hm; |
2027 HandleMark hm; |
2028 |
2028 |
2029 // Set the number of GC threads to be used in this collection |
2029 // Set the number of GC threads to be used in this collection |
2030 gc_task_manager()->set_active_gang(); |
2030 gc_task_manager()->set_active_gang(); |
2031 gc_task_manager()->task_idle_workers(); |
2031 gc_task_manager()->task_idle_workers(); |
2032 heap->set_par_threads(gc_task_manager()->active_workers()); |
|
2033 |
2032 |
2034 TraceCPUTime tcpu(PrintGCDetails, true, gclog_or_tty); |
2033 TraceCPUTime tcpu(PrintGCDetails, true, gclog_or_tty); |
2035 GCTraceTime t1(GCCauseString("Full GC", gc_cause), PrintGC, !PrintGCDetails, NULL, _gc_tracer.gc_id()); |
2034 GCTraceTime t1(GCCauseString("Full GC", gc_cause), PrintGC, !PrintGCDetails, NULL, _gc_tracer.gc_id()); |
2036 TraceCollectorStats tcs(counters()); |
2035 TraceCollectorStats tcs(counters()); |
2037 TraceMemoryManagerStats tms(true /* Full GC */,gc_cause); |
2036 TraceMemoryManagerStats tms(true /* Full GC */,gc_cause); |