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

Move marking of promoted objects during initial mark into the concurrent phase

XMLWordPrintable

    • gc
    • b24

      During initial mark in the gc pause we mark all roots and the promoted objects as live.

      The second part is not required at all. The promoted objects could be marked in the scan root regions phase in addition to scanning them.

      If that were done, it would decrease the amount of time spent (and the special handling in the code) for initial mark.

      The reason for this is mostly removing code in the evacuation, i.e. kind of cleanup. There could be improvements in the evacuation time as well.

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

              Created:
              Updated:
              Resolved: