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

Chen Liang liach at openjdk.org
Thu May 1 15:44:53 UTC 2025


On Wed, 30 Apr 2025 23:02:24 GMT, Chen Liang <liach at openjdk.org> wrote:

>> 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

Re jai for repeating: do we want this repeat for a single run or all tier1 runs (which I will use junit RepeatedTest)

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

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


More information about the core-libs-dev mailing list