Mercurial > hg > truffle
comparison src/share/vm/memory/genCollectedHeap.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 | 1d1603768966 |
children | 2aa9ddbb9e60 |
comparison
equal
deleted
inserted
replaced
3355:f1cbbee6713b | 3356:78542e2b5e35 |
---|---|
535 pre_full_gc_dump(); // do any pre full gc dumps | 535 pre_full_gc_dump(); // do any pre full gc dumps |
536 } | 536 } |
537 // Timer for individual generations. Last argument is false: no CR | 537 // Timer for individual generations. Last argument is false: no CR |
538 TraceTime t1(_gens[i]->short_name(), PrintGCDetails, false, gclog_or_tty); | 538 TraceTime t1(_gens[i]->short_name(), PrintGCDetails, false, gclog_or_tty); |
539 TraceCollectorStats tcs(_gens[i]->counters()); | 539 TraceCollectorStats tcs(_gens[i]->counters()); |
540 TraceMemoryManagerStats tmms(_gens[i]->kind()); | 540 TraceMemoryManagerStats tmms(_gens[i]->kind(),gc_cause()); |
541 | 541 |
542 size_t prev_used = _gens[i]->used(); | 542 size_t prev_used = _gens[i]->used(); |
543 _gens[i]->stat_record()->invocations++; | 543 _gens[i]->stat_record()->invocations++; |
544 _gens[i]->stat_record()->accumulated_time.start(); | 544 _gens[i]->stat_record()->accumulated_time.start(); |
545 | 545 |