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

MemorySegment::allocateNative should honor direct memory limits

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-panama
    • Fix Version/s: None
    • Component/s: tools

      Description

      Currently, MemorySegment::allocateNative does not respect the direct memory limits set for direct buffers, such as -XX:MaxDirectMemorySize and -XX:+PageAlignDirectMemory. It would be desirable if both APIs could be controlled in the same way.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: