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

Chen Liang liach at openjdk.org
Thu Mar 27 22:29:12 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.

We might need a general test suite to ensure behaviors around concurrent definition/queries against a MHP instance.

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

PR Comment: https://git.openjdk.org/jdk/pull/23757#issuecomment-2759668288


More information about the core-libs-dev mailing list