Consolidate preserved marks handling with other STW collectors

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 22
    • Affects Version/s: 18
    • Component/s: hotspot
    • gc
    • b02

      During review of JDK-8271951 it has been found that there is at least some naming issue with current preserved mark handling:

      Serial gc has "PreservedMark"

      Other gcs have "PreservedMarks" (note the trailing "s"), "PreservedMarksSet" and as a subclass of PreservedMarks "OopAndMarkWord" which is basically Serial GC's "PreservedMark".

      Apart from naming, maybe it is possible to have Serial GC also use the shared code somehow, keeping the functionality to use empty parts of the heap for this data.

            Assignee:
            Guoxiong Li
            Reporter:
            Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: