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

Merge G1ConcurrentMark::par_mark() and G1ConcurrentMark::grayRoot()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 9, 10
    • hotspot
    • gc
    • b21

      The methods G1ConcurrentMark::par_mark() and G1ConcurrentMark::grayRoot() both mark bits in the next mark bitmap. They or their callers always check whether that mark should actually be set before doing it in various different ways. I.e. somewhat obfuscated code duplication.

      Remove that code duplication.

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

              Created:
              Updated:
              Resolved: