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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 10
    • Affects Version/s: 9, 10
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: