[OpenJDK 2D-Dev] [14] Review Request: 8235547 Video memory leak in the OGL pipeline on macOS

Phil Race philip.race at oracle.com
Mon Dec 9 18:23:50 UTC 2019


How did this get found ? Is it a regression caused by some other bug fix ?

Do we have any reports of bugs that can be attributed to this ?

How did you test that this does not cause any problems (crashes) ?

-phil.

On 12/8/19 6:36 PM, Sergey Bylokhov wrote:
> Hello.
> Please review the fix for JDK 14.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8235547
> Fix: http://cr.openjdk.java.net/~serb/8235547/webrev.01
>
> Every window's peer on macOS has a native OGL surface which is used as 
> a back buffer
> for CAOpenGLLayer. This surface should be disposed in two cases, when 
> the layer
> is resized or if the layer is disposed. But the second case is not 
> implemented,
> the OGL surface is leaked when the layer is dispoed.
>



More information about the 2d-dev mailing list