RFR: 8350549: MethodHandleProxies.WRAPPER_TYPES is not thread-safe [v2]

Chen Liang liach at openjdk.org
Wed Apr 30 23:02:24 UTC 2025


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

Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:

 - Add a test case, fails isWrapperInstance on mainline
 - Merge branch 'master' of https://github.com/openjdk/jdk into fix/mhp-wrapper-check-async
 - 8350549: MethodHandleProxies.WRAPPER_TYPES is not thread-safe

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23757/files
  - new: https://git.openjdk.org/jdk/pull/23757/files/eb0a3639..60404635

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23757&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23757&range=00-01

  Stats: 459290 lines in 5936 files changed: 159245 ins; 269450 del; 30595 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