Make initial clearing of CHeapBitMap optional

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 11
    • Affects Version/s: 11
    • Component/s: hotspot
    • None
    • gc
    • b11

      CHeapBitMap objects will by default clear the underlying bitmap during construction. In ZGC we don't want mark bitmaps to be cleared on construction, since we instead do this lazily during concurrent marking.

      Add a "bool clear = true" argument to CHeapBitMap's constructor to be able to opt-out of this behavior.

            Assignee:
            Per Liden (Inactive)
            Reporter:
            Per Liden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: