-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P5
-
Affects Version/s: None
-
Component/s: core-libs
-
b10
-
sparc
-
solaris_10
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8371442 | 8u491 | David Buck | P5 | Resolved | Fixed | master |
| JDK-8371300 | 11.0.31-oracle | David Buck | P5 | Resolved | Fixed | master |
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.
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.
- backported by
-
JDK-8371300 (bf) Out of direct buffer memory message should include the limits
-
- Resolved
-
-
JDK-8371442 (bf) Out of direct buffer memory message should include the limits
-
- Resolved
-
- relates to
-
JDK-8057897 NullPointerException message should name the null variable.
-
- Closed
-
- links to