RFR: 8339341: SurfaceManager cacheMap retains strong references [v4]

Nikita Gubarkov ngubarkov at openjdk.org
Thu Sep 19 11:54:56 UTC 2024


> 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.

Nikita Gubarkov has updated the pull request incrementally with one additional commit since the last revision:

  Revert wildcard import in X11GraphicsDevice

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20825/files
  - new: https://git.openjdk.org/jdk/pull/20825/files/87866453..1a7a6d62

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20825&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20825&range=02-03

  Stats: 6 lines in 1 file changed: 5 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/20825.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20825/head:pull/20825

PR: https://git.openjdk.org/jdk/pull/20825


More information about the client-libs-dev mailing list