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

Merge PreservedMarksSet::restore code paths

    XMLWordPrintable

    Details

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

      Description

      There are two fairly independent code paths for PreservedMarksSet::restore(), one for serial and one for parallel execution.

      This means that there is some code duplication and (already) some minor difference in the code executed.

      Merge these paths as the additional calls are negligible - we are in a special case, i.e. evacuation failure, where that call in the serial case is unlikely to matter.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: