comparison src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp @ 3356:78542e2b5e35

7036199: Adding a notification to the implementation of GarbageCollectorMXBeans Summary: Add a notification to the GarbageCollectorMXBeans Reviewed-by: acorn, mchung
author fparain
date Thu, 12 May 2011 10:30:11 -0700
parents b099aaf51bf8
children 4dfb2df418f2
comparison
equal deleted inserted replaced
3355:f1cbbee6713b 3356:78542e2b5e35
320 320
321 gclog_or_tty->date_stamp(PrintGC && PrintGCDateStamps); 321 gclog_or_tty->date_stamp(PrintGC && PrintGCDateStamps);
322 TraceCPUTime tcpu(PrintGCDetails, true, gclog_or_tty); 322 TraceCPUTime tcpu(PrintGCDetails, true, gclog_or_tty);
323 TraceTime t1("GC", PrintGC, !PrintGCDetails, gclog_or_tty); 323 TraceTime t1("GC", PrintGC, !PrintGCDetails, gclog_or_tty);
324 TraceCollectorStats tcs(counters()); 324 TraceCollectorStats tcs(counters());
325 TraceMemoryManagerStats tms(false /* not full GC */); 325 TraceMemoryManagerStats tms(false /* not full GC */,gc_cause);
326 326
327 if (TraceGen0Time) accumulated_time()->start(); 327 if (TraceGen0Time) accumulated_time()->start();
328 328
329 // Let the size policy know we're starting 329 // Let the size policy know we're starting
330 size_policy->minor_collection_begin(); 330 size_policy->minor_collection_begin();