On Mon, 2 Sep 2024 18:46:47 GMT, Nikita Gubarkov <ngubar...@openjdk.org> wrote:
> I moved SurfaceDataProxy cache into a separate class. > 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 GraphicsConfig from being > detected as weakly reachable. This pull request has now been integrated. Changeset: fe83b7d5 Author: Nikita Gubarkov <ngubar...@openjdk.org> Committer: Alexey Ushakov <a...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/fe83b7d59667563a4b9e60858e900f7196073f6d Stats: 184 lines in 18 files changed: 61 ins; 63 del; 60 mod 8339341: SurfaceManager cacheMap retains strong references Reviewed-by: jdv, prr ------------- PR: https://git.openjdk.org/jdk/pull/20825