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

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Mon Dec 9 02:36:39 UTC 2019


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.

-- 
Best regards, Sergey.


More information about the 2d-dev mailing list