mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-15 08:03:50 +00:00
8355743: G1: Collection set clearing is not recorded as part of "Free Collection Set Time"
Reviewed-by: iwalulya, shade
This commit is contained in:
parent
e557b6956b
commit
b8d2bdb465
@ -881,10 +881,10 @@ public:
|
||||
}
|
||||
FREE_C_HEAP_ARRAY(FreeCSetStats, _worker_stats);
|
||||
|
||||
_g1h->clear_collection_set();
|
||||
|
||||
G1GCPhaseTimes* p = _g1h->phase_times();
|
||||
p->record_serial_free_cset_time_ms((Ticks::now() - serial_time).seconds() * 1000.0);
|
||||
|
||||
_g1h->clear_collection_set();
|
||||
}
|
||||
|
||||
double worker_cost() const override { return G1CollectedHeap::heap()->collection_set()->region_length(); }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user