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

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

    Details

    • Resolved In Build:
      b33
    • Verification:
      Not verified

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: