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

Make collection set regions not need remembered set update during GC

    XMLWordPrintable

Details

    • Enhancement
    • Status: Open
    • P4
    • Resolution: Unresolved
    • 18
    • tbd
    • hotspot
    • 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

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

              Dates

                Created:
                Updated: