Java DirectByteBuffer and OOM

Ivan Gerasimov ivan.gerasimov at oracle.com
Fri Aug 21 17:27:05 UTC 2015


Hi Biju!

FYI, the fix was backported to jdk8u with the following two changes:
http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/3d7b2dfd922c
http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/dcc009356125

Please note that currently we've got no plans to backport this to 
earlier releases of jdk.

Sincerely yours,
Ivan

On 11.08.2015 13:29, Biju G.S Nair wrote:
> Thank you Ivan for looking into the request. Hope the merge is pretty 
> straight forward.
>
> Thanks,
> Biju
>
> On Mon, Aug 10, 2015 at 4:01 PM, Ivan Gerasimov 
> <ivan.gerasimov at oracle.com <mailto:ivan.gerasimov at oracle.com>> wrote:
>
>     Hi Biju!
>
>     I'll see if I can backport that change to jdk8u.
>
>     Sincerely yours,
>     Ivan
>
>
>     On 10.08.2015 19:57, Biju G.S Nair wrote:
>
>         Thanks Andrew for the response.
>
>         Hi JDK8 development team,
>               Could you please back port and merge the patch
>         https://bugs.openjdk.java.net/browse/JDK-6857566 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.
>
>         Thanks,
>         Biju
>
>
>
>         Thanks,
>         Biju
>
>         On Mon, Aug 10, 2015 at 11:28 AM, Andrew Haley <aph at redhat.com
>         <mailto:aph at redhat.com>> 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
>                 https://bugs.openjdk.java.net/browse/JDK-6857566
>                 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