Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8329858

G1: Make G1VerifyLiveAndRemSetClosure stateless

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • None
    • hotspot
    • None
    • gc
    • b18

      In JDK-8329570: 'G1: Excessive is_obj_dead_cond calls in verification' we moved the verification of the containing object so that it was done only once. We left the repeated null-check because of concerns that moving it would open up the risk that someone in the future would miss calling set_containing_obj or calling it with a null object.

      I propose that we restructure the code to make the closure's state const and remove the set_containing_obj function.

            stefank Stefan Karlsson
            stefank Stefan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: