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

Improve concurrent mark keep alive closure performance

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b11

      Description

      The G1CMKeepAliveAndDrainClosure's performance can be improved to not try to call the very expensive drain closure if there has not been any change to the mark bitmap when trying to keep alive the given object, i.e. the mark bitmap has not changed.

      Also if the given object is NULL, there is no need to do anything.

      Note that with current settings the closure does not do any stealing anyway, so this is always a win.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: