G1: Refactor G1MMUTracker::when_sec

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: 20
    • Component/s: hotspot
    • gc
    • b13

      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.

            Assignee:
            Albert Yang
            Reporter:
            Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: