RFR: 8306950: [REDO] JDK-8305252 make_method_handle_intrinsic may call java code under a lock
Coleen Phillimore
coleenp at openjdk.org
Wed Apr 26 23:46:56 UTC 2023
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.
-------------
Commit messages:
- Fix bug in original patch.
- 8306950: [REDO] JDK-8305252 make_method_handle_intrinsic may call java code under a lock
Changes: https://git.openjdk.org/jdk/pull/13681/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13681&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8306950
Stats: 64 lines in 3 files changed: 34 ins; 5 del; 25 mod
Patch: https://git.openjdk.org/jdk/pull/13681.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13681/head:pull/13681
PR: https://git.openjdk.org/jdk/pull/13681
More information about the hotspot-runtime-dev
mailing list