The current impl uses two loops (the first inside `calculate_gc_time`) and mixes special (`// Trivially, if the pause is of maximum pause time`) and general cases, which can make it hard to follow.
Try to simplify it for better readability.
Try to simplify it for better readability.
- relates to
-
JDK-8305663 Wrong iteration order of pause array in g1MMUTracker
-
- Resolved
-
-
JDK-8305892 G1: Fix G1MMUTracker::when_sec documentation
-
- Resolved
-