RFR: 8306950: [REDO] JDK-8305252 make_method_handle_intrinsic may call java code under a lock [v4]

Coleen Phillimore coleenp at openjdk.org
Thu Apr 27 19:45:27 UTC 2023


On Thu, 27 Apr 2023 19:21:29 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> This change redoes the intrinsic method table change to not hold a lock while calling make_method_handle_intrinsic.  The first commit is the original patch and the second is the fix to the bug it caused.
>> The Atomic operations might not be needed.
>> Tested with tier1-7, where tests in multiple tiers were regularly failing.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Ioi noticed that met can never be null after put-if-absent.

Thanks David for the review, and Matias and Ioi for the comments.  In an abundance of caution, I'm rerunning tiers 4-7 on the changes.

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

PR Comment: https://git.openjdk.org/jdk/pull/13681#issuecomment-1526246207


More information about the hotspot-runtime-dev mailing list