Change three G1 remembererd set closures to be OopClosures

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • gc
    • b103

      While working on JDK-8138888 and its sub-tasks I stumbled upon three closures used in g1RemSet.cpp that inherited ExtendedOopClosure, but only are used as ordinary OopClosures. These do not override apply_to_weak_ref_discovered_field but should be re-factored to inherit OopClosure to avoid confusion.

      The closures:
      G1Mux2Closure
      G1TriggerClosure
      G1InvokeIfNotTriggeredClosure

            Assignee:
            Stefan Johansson
            Reporter:
            Stefan Johansson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: