RFR: 8270009: Factor out and shuffle methods in G1CollectedHeap::do_collection_pause_at_safepoint_helper [v3]

Thomas Schatzl tschatzl at openjdk.java.net
Mon Jul 12 13:51:24 UTC 2021


On Mon, 12 Jul 2021 13:19:45 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> It is true that it is now also included in the time used for MMU calculation (as part of the `record_collection_start/end` pair), which may a problem.
>> 
>> Previous gc timing also included it though, i.e. in the `note_gc_start()/print_phase_times()` pair.
>> 
>> I'll move it back then.
>
> Things are unfortunately a bit messy and confusing/confused about pause time handling; see JDK-8240779 and JDK-7178365.

I am aware of those, but this change does not really intend to fix these issues, but hopefully not make them worse (afaict this has been achieved).

-------------

PR: https://git.openjdk.java.net/jdk/pull/4744


More information about the hotspot-gc-dev mailing list