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

Chen Liang liach at openjdk.org
Mon Feb 24 23:51:04 UTC 2025


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

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

Commit messages:
 - 8350549: MethodHandleProxies.WRAPPER_TYPES is not thread-safe

Changes: https://git.openjdk.org/jdk/pull/23757/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23757&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8350549
  Stats: 4 lines in 1 file changed: 1 ins; 2 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/23757.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23757/head:pull/23757

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


More information about the core-libs-dev mailing list