MemorySegment::allocateNative should honor direct memory limits

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: