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

Javadoc of MemorySegment::allocateNative should state that memory is zero-initialized

XMLWordPrintable

    • b33
    • Not verified

        The javadoc of MemorySegment::allocateNative mistakenly reports that the initialization state of the off-heap memory block is undefined and should not be relied upon. This is false, give that native segments are always zero-initialized.

              mcimadamore Maurizio Cimadamore
              mcimadamore Maurizio Cimadamore
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: