Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.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 | 92da084fefc9 |
children | c2bf0120ee5d |
comparison
equal
deleted
inserted
replaced
3355:f1cbbee6713b | 3356:78542e2b5e35 |
---|---|
171 } | 171 } |
172 gclog_or_tty->date_stamp(PrintGC && PrintGCDateStamps); | 172 gclog_or_tty->date_stamp(PrintGC && PrintGCDateStamps); |
173 TraceCPUTime tcpu(PrintGCDetails, true, gclog_or_tty); | 173 TraceCPUTime tcpu(PrintGCDetails, true, gclog_or_tty); |
174 TraceTime t1(gc_cause_str, PrintGC, !PrintGCDetails, gclog_or_tty); | 174 TraceTime t1(gc_cause_str, PrintGC, !PrintGCDetails, gclog_or_tty); |
175 TraceCollectorStats tcs(counters()); | 175 TraceCollectorStats tcs(counters()); |
176 TraceMemoryManagerStats tms(true /* Full GC */); | 176 TraceMemoryManagerStats tms(true /* Full GC */,gc_cause); |
177 | 177 |
178 if (TraceGen1Time) accumulated_time()->start(); | 178 if (TraceGen1Time) accumulated_time()->start(); |
179 | 179 |
180 // Let the size policy know we're starting | 180 // Let the size policy know we're starting |
181 size_policy->major_collection_begin(); | 181 size_policy->major_collection_begin(); |