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

Add verification type for evacuation failures

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 18
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b03

      Description

      With -XX:VerifyGCType it is currently possible to select particular kinds of GC pauses to verify (young, concurrent start, mixed, ...).

      One useful additional verification type could be verification after an evacuation failure happened: evacuation failure is not very common, but executes significantly difference code - many failures in the past only occurred after evacuation failures.

      Since evacuation failure is rather uncommon, using a particular existing type of GC pause (young, ...) wastes lots of time verifying pauses that are known to not be affected (and often causes the issue not appear because of overall less testing within the (typically) set runtime).

      So the suggestion is to add a special verification type that selects (young) collections with an evacuation failure (applicable to VerifyAfterGC only of course) to speed up issue reproduction.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tschatzl Thomas Schatzl
              Reporter:
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: