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

Make initial clearing of CHeapBitMap optional

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 11
    • 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.

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

              Created:
              Updated:
              Resolved: