RFR: 8284956: Potential leak awtImageData/color_data when initializes X11GraphicsEnvironment
Phil Race
prr at openjdk.java.net
Wed Apr 27 18:02:44 UTC 2022
On Wed, 20 Apr 2022 13:48:19 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:
> During initializing native data of `X11GraphicsEnvironment`, a single `AwtGraphicsConfigData` is used/reused, not only failed cases, but also succeeded cases. So `AwtGraphicsConfigData` internal states need to be cleanup properly to avoid memory leaks.
>
> Test:
> - [x] jdk_awt
Marked as reviewed by prr (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/8317
More information about the client-libs-dev
mailing list