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

G1 Does not perform heap verification after remark with VerifyAfterGC

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: tbd_major
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc

      Description

      G1 Currently does not perform a verification of the heap at the end of a concurrent cycle. This leads to situations where the expectation that enabling VerifyBefore/AfterGC can be used to rule out GC implementation problems as a source to bugs is false.
      Since G1 is becoming the default GC in 9 I'd prefer to fix this in 9 to make it easier to debug GC problems in the field.
      Suggested fix is to add " || VerifyAfterGC" to the if statements in the end of G1ConcurrentMark::checkpointRootsFinal

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mgerdin Mikael Gerdin (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: