RFR: 8350549: MethodHandleProxies.WRAPPER_TYPES is not thread-safe

Jorn Vernee jvernee at openjdk.org
Wed Apr 30 13:39:48 UTC 2025


On Mon, 24 Feb 2025 23:47:02 GMT, Chen Liang <liach at openjdk.org> wrote:

> Use a thread-safe ReferencedKeySet instead of a WeakHashMap key set.

The changes look okay. I agree with Jaikiran that adding a stress test for this would be good.

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

PR Review: https://git.openjdk.org/jdk/pull/23757#pullrequestreview-2807091979


More information about the core-libs-dev mailing list