mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8139134: Wrong tenuring threshold in young GC trace event
Reviewed-by: ehelin, jwilhelm
This commit is contained in:
parent
56d0ec1e1a
commit
3f29249aee
3 changed files with 5 additions and 3 deletions
|
@ -648,6 +648,7 @@ void DefNewGeneration::collect(bool full,
|
|||
rp->process_discovered_references(&is_alive, &keep_alive, &evacuate_followers,
|
||||
NULL, _gc_timer);
|
||||
gc_tracer.report_gc_reference_stats(stats);
|
||||
gc_tracer.report_tenuring_threshold(tenuring_threshold());
|
||||
|
||||
if (!_promotion_failed) {
|
||||
// Swap the survivor spaces.
|
||||
|
@ -712,7 +713,6 @@ void DefNewGeneration::collect(bool full,
|
|||
update_time_of_last_gc(now);
|
||||
|
||||
gch->trace_heap_after_gc(&gc_tracer);
|
||||
gc_tracer.report_tenuring_threshold(tenuring_threshold());
|
||||
|
||||
_gc_timer->register_gc_end();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue