Refactor ReduceInitialCardMarks to not assume all GCs use card marks

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 11
    • Affects Version/s: 9, 10, 11
    • Component/s: hotspot
    • b03

      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.

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

              Created:
              Updated:
              Resolved: