mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
7036199: Adding a notification to the implementation of GarbageCollectorMXBeans
Add a notification to the GarbageCollectorMXBeans Reviewed-by: acorn, mchung
This commit is contained in:
parent
d2ab644ad1
commit
b38843c8d9
18 changed files with 395 additions and 29 deletions
|
@ -537,7 +537,7 @@ void GenCollectedHeap::do_collection(bool full,
|
|||
// Timer for individual generations. Last argument is false: no CR
|
||||
TraceTime t1(_gens[i]->short_name(), PrintGCDetails, false, gclog_or_tty);
|
||||
TraceCollectorStats tcs(_gens[i]->counters());
|
||||
TraceMemoryManagerStats tmms(_gens[i]->kind());
|
||||
TraceMemoryManagerStats tmms(_gens[i]->kind(),gc_cause());
|
||||
|
||||
size_t prev_used = _gens[i]->used();
|
||||
_gens[i]->stat_record()->invocations++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue