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

G1: Early return on first failure in VerifyRegionClosure

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 20
    • 19
    • hotspot
    • gc
    • b05

    Description

      `VerifyRegionClosure` is applied on each region to verify certain properties. The comment says it would early-return on the first failure, but the code disagrees -- it would continue to next region.

      Additionally, the iteration will exit after the first archive (open/closed) region, which seems a mistake.

      The proposed fix is to have early-return only on first failure; otherwise, all regions will be visited.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: