[jdk21u-dev] RFR: 8339341: SurfaceManager cacheMap retains strong references

Alexey Ushakov avu at openjdk.org
Wed Oct 23 08:51:06 UTC 2024


On Tue, 22 Oct 2024 15:46:49 GMT, Nikita Gubarkov <ngubarkov at openjdk.org> wrote:

> Now caching level is determined by placement of the SurfaceManager.ProxyCache object instead of a "proxy key". This cache "owns" proxies and therefore strong refs via them do not prevent the cache (and hence GraphicsConfig) from being detected as weakly reachable.

LGTM

-------------

Marked as reviewed by avu (no project role).

PR Review: https://git.openjdk.org/jdk21u-dev/pull/1077#pullrequestreview-2387794928


More information about the jdk-updates-dev mailing list