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

(bf) -XX:MaxDirectMemorySize=<size> limits memory usage rather than total capacity as intended

XMLWordPrintable

    • b36
    • 7
    • b116
    • generic
    • generic
    • Verified

      Closed test java/nio/LimitDirectBuffer.sh is failing since the push of:
        6682020: (bf) Support monitoring of direct and mapped buffer usage

      The changes to allow the resources associated with direct buffers have accidently changed the semantics of the MaxDirectMemorySize so that it limits the maximum size of the buffers including waste associated with page alignment. Previously it limits the maximum size based on the total capacity of the direct buffers.

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: