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

Shenandoah: Split STW and concurrent mark into separate classes

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b06

      Description

      Shenandoah shares code for STW and concurrent mark to reduce duplication. But this approach has a few disadvantages:

      1) Code has to special case for STW and concurrent mark.
      2) STW mark does not need to rendezvous workers between root mark and the rest of mark
      3) STW mark does not need to activate SATB barrier and drain SATB buffers.
      4) STW mark does not need to remark some of roots.

      We can refactor mark code that encapsulates shared code into base class and splits STW mark and concurrent mark into separate classes.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              zgu Zhengyu Gu
              Reporter:
              zgu Zhengyu Gu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: