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

Consolidate preserved marks handling with other STW collectors

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • 18
    • 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.

            gli Guoxiong Li
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: