(bf) Out of direct buffer memory message should include the limits

XMLWordPrintable

    • b10
    • sparc
    • solaris_10

        A DESCRIPTION OF THE REQUEST :
        In the java.nio.Bits class the line:

        throw new OutOfMemoryError("Direct buffer memory");

        is not very useful for debugging problems. It would be significantly more useful if the message included the values of the reservedMemory, size, and maxMemory fields.

        JUSTIFICATION :
        The current message makes it very difficult to debug direct memory problems, and a tiny change would make it significantly more useful.

              Assignee:
              Brian Burkhalter
              Reporter:
              Sean Coffey
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported: