Backporting 8020983: OutOfMemoryError caused by non garbage collected JPEGImageWriter Instances
Andrew Haley
aph at redhat.com
Fri Mar 21 16:15:08 UTC 2014
On 09/04/2013 04:18 PM, Andrew Hughes wrote:
> ----- Original Message -----
>> On 08/27/2013 12:01 PM, Andrew Hughes wrote:
>>> ----- Original Message -----
>>>> Hi Andrew,
>>>>
>>>> On 08/27/2013 11:22 AM, Andrew Hughes wrote:
>>>>> 0. What problem does this solve?
>>>>
>>>> The current code has memory leaks. With some usage patterns, Java will
>>>> run heap space. For more details, please see the bug:
>>>> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8020983
>>>>
>>>
>>> "This image writer object will never be garbage collected. This is
>>> reproducible with java 6u45. It works fine for us until version 6_u43."
>>>
>>> It sounds like a recent regression. Have you been able to reproduce the
>>> issue
>>> on OpenJDK 6?
>>
>> Yes, it was originally reported against icedtea6-1.11:
>> https://bugzilla.redhat.com/show_bug.cgi?id=976897
>>
>>> Ok, it should probably also go in 1.11.x and 1.12.x if the issue is present
>>> there.
>>
>> Will do.
>
> A number of other JPEG backports [0] were included in IcedTea 1.x and may be worth
> considering for OpenJDK. With these applied, 8020983 applies as it is in 7.
>
> [0] http://icedtea.classpath.org/hg/icedtea6/rev/de0023a3d26d
OK, this looks like the right thing to do.
Andrew.
More information about the jdk6-dev
mailing list