[OpenJDK 2D-Dev] RFR: 8148477: Native memory leak in font layout subsystem

Phil Race philip.race at oracle.com
Wed Jul 27 22:06:51 UTC 2016


https://bugs.openjdk.java.net/browse/JDK-8158477
http://cr.openjdk.java.net/~prr/8158477/

Missing a call to ReleaseCharArrayElements()

With this fix the test in the bug runs happily for many minutes without any
increase at all in virtual memory. About 1.5 million invocations of the
layout code so far.

The JNI exception checking is just something I noticed was missing .. not
relevant to the leak.

No reg. test since it is not something you can test easily from jtreg ..

-phil.



More information about the 2d-dev mailing list