<AWT Dev> [9] Review Request: 8041654 OutOfMemoryError: RepainManager doesn't clean up cache of volatile images
Alexander Zvegintsev
alexander.zvegintsev at oracle.com
Thu May 21 14:31:25 UTC 2015
Hello Sergey,
the fix looks fine to me.
--
Thanks,
Alexander.
On 05/21/2015 03:11 PM, Sergey Bylokhov wrote:
> Hello.
> Please review the fix for jdk9.
> RepainManager adds a listener to the SGE.DisplayChangedListener() and
> it don't hold a strong reference to this listener. The problem is that
> SGE holds a listeners in the WeakHashMap so sometimes the listeners
> can be cleared before they are called. Same issue exists in XToolkit.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8041654
> Webrev can be found at:
> http://cr.openjdk.java.net/~serb/8041654/webrev.02
>
More information about the awt-dev
mailing list