Integrated: 8339341: SurfaceManager cacheMap retains strong references
Nikita Gubarkov
ngubarkov at openjdk.org
Thu Oct 17 20:57:59 UTC 2024
On Mon, 2 Sep 2024 18:46:47 GMT, Nikita Gubarkov <ngubarkov at 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 <ngubarkov at openjdk.org>
Committer: Alexey Ushakov <avu at 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
More information about the client-libs-dev
mailing list