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

Make collection set regions not need remembered set update during GC

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 18
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Subcomponent:
      gc

      Description

      By making collection set regions (not candidates!) mark as not needing remembered set update, some checks in the calculations whether a reference should be enqueued can be simplified after JDK-8271880 as suggested by [~ayang].

      Initial tests show this is correct because either
      - the collection set region will be empty after gc and collected
      - the collection set region will have failed evacuation but g1 currently never builds remembered sets for these regions

      Do some more testing on this too.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ayang Albert Yang
              Reporter:
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: