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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b10
    • CPU:
      sparc
    • OS:
      solaris_10

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: