[jdk21u-dev] RFR: 8339341: Make SurfaceDataProxy cache a separate entity.

Nikita Gubarkov ngubarkov at openjdk.org
Tue Oct 22 15:51:59 UTC 2024


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.

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

Commit messages:
 - 8339341: Make SurfaceDataProxy cache a separate entity.

Changes: https://git.openjdk.org/jdk21u-dev/pull/1077/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1077&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8339341
  Stats: 184 lines in 18 files changed: 61 ins; 63 del; 60 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/1077.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1077/head:pull/1077

PR: https://git.openjdk.org/jdk21u-dev/pull/1077


More information about the jdk-updates-dev mailing list