G1: G1FullGCScope remove unnecessary member _explicit_gc

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 21
    • Affects Version/s: None
    • Component/s: hotspot
    • gc
    • b20

      G1FullGCScope member variable is used only for verification in assert(!GCCause::is_user_requested_gc(gc_cause()) || explicit_gc, "invariant"). However, the assert is unnecessary, or we can gc_cause() to determine whether the explicit_gc is true. Therefore, we can remove the _explicit_gc member and probably the assert.

            Assignee:
            Ivan Walulya
            Reporter:
            Ivan Walulya
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: