Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.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 | eda9eb483d29 |
children | c2bf0120ee5d |
comparison
equal
deleted
inserted
replaced
3355:f1cbbee6713b | 3356:78542e2b5e35 |
---|---|
2055 } | 2055 } |
2056 gclog_or_tty->date_stamp(PrintGC && PrintGCDateStamps); | 2056 gclog_or_tty->date_stamp(PrintGC && PrintGCDateStamps); |
2057 TraceCPUTime tcpu(PrintGCDetails, true, gclog_or_tty); | 2057 TraceCPUTime tcpu(PrintGCDetails, true, gclog_or_tty); |
2058 TraceTime t1(gc_cause_str, PrintGC, !PrintGCDetails, gclog_or_tty); | 2058 TraceTime t1(gc_cause_str, PrintGC, !PrintGCDetails, gclog_or_tty); |
2059 TraceCollectorStats tcs(counters()); | 2059 TraceCollectorStats tcs(counters()); |
2060 TraceMemoryManagerStats tms(true /* Full GC */); | 2060 TraceMemoryManagerStats tms(true /* Full GC */,gc_cause); |
2061 | 2061 |
2062 if (TraceGen1Time) accumulated_time()->start(); | 2062 if (TraceGen1Time) accumulated_time()->start(); |
2063 | 2063 |
2064 // Let the size policy know we're starting | 2064 // Let the size policy know we're starting |
2065 size_policy->major_collection_begin(); | 2065 size_policy->major_collection_begin(); |