Java DirectByteBuffer and OOM

Biju G.S Nair gs.biju at
Mon Aug 10 16:57:07 UTC 2015

Thanks Andrew for the response.

Hi JDK8 development team,
     Could you please back port and merge the patch in JDK 8. This will help
in resolving OOM issues in our applications which is using
DirectByteBuffer. This will also help the JDK 7 dev team to merge the patch
into their code base and that is the version we are using.



On Mon, Aug 10, 2015 at 11:28 AM, Andrew Haley <aph at> wrote:

> On 08/10/2015 04:25 PM, Biju G.S Nair wrote:
> > Hi There,
> >    Our application is failing with unexpected OOM when using Java
> > DirectByteBuffer and the fix
> > currently merged to
> JDK 9
> > which includes a scaling sleep time should help us and may be others as
> > well who are using JDK 7. Is there a way this patch can be back ported
> and
> > merged into JDK 7 since the fix seems to be pretty straight forward. That
> > will be very helpful and your response is much appreciated.
> Yes, but it should be back-ported to JDK8u.  It's not at all conventional
> to skip a JDK release.
> Andrew.

More information about the jdk8u-dev mailing list