RFR: 8339341: SurfaceManager cacheMap retains strong references [v2]
Nikita Gubarkov
ngubarkov at openjdk.org
Tue Sep 10 13:31:09 UTC 2024
On Fri, 6 Sep 2024 16:13:31 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> Nikita Gubarkov has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains one commit:
>>
>> 8339341: Make SurfaceDataProxy cache a separate entity.
>>
>> 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.
>
> If possible please add the "steps to reproduce" to the JBS issue.
@mrserb added steps and attached a test file.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20825#issuecomment-2340788910
More information about the client-libs-dev
mailing list