[ping] Re: 8048192: (bf) Out of direct buffer memory message should include the limits

Alan Bateman Alan.Bateman at oracle.com
Thu Feb 21 17:29:36 UTC 2019


On 21/02/2019 17:01, Brian Burkhalter wrote:
> Ping
>
> If we don’t want to improve the error message I suggest resolving this 
> as “Won’t Fix."
"MAX_MEMORY" or "TOTAL_CAPACITY" are the names of JDK internal fields so 
it might be better to leave those names out of the message. We ould be 
able to come up with shorter exception message to say that X bytes of 
direct memory cannot be allocated and have it include the current 
allocated and limit.

-Alan


More information about the nio-dev mailing list