|
Relates :
|
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.
|