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

Refactor ReduceInitialCardMarks to not assume all GCs use card marks

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9, 10, 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b03

      Description

      The current interface between the compilers and GC regarding the ReduceInitialCardMarks optimization lives in the CollectedHeap. However, the optimization is relevant only for collectors with a card mark barrier set (CardTableModRefBS). Therefore, this interface ought to be moved into CardTableModRef so that code gets less messy when a collector does not use card marking.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              eosterlund Erik Ă–sterlund
              Reporter:
              eosterlund Erik Ă–sterlund
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: