RFR - 6857566 (bf) DirectByteBuffer garbage creation can outpace reclamation

Alan Bateman Alan.Bateman at oracle.com
Sun Feb 23 08:09:07 UTC 2014

On 20/02/2014 16:59, Peter Levart wrote:
> :
> Hi Alan,
> I made another webrev with minor changes based on your feedback...
> http://cr.openjdk.java.net/~plevart/jdk9-dev/DirectBufferAlloc/webrev.03/
Thanks for the updates, this is good work and I think this is good to go.

> No System.exit in this webrev any more. The test should still run in 
> othervm though, since it uses special VM option 
> "-XX:MaxDirectMemorySize=128m". Without it there might be to much 
> direct memory available by default on some machine (like mine with 
> 16GB of RAM) to provoke an error in 5 seconds time...
I agree, this has to run in its own VM.


More information about the core-libs-dev mailing list