RFR: 8335120: assert(!target->can_be_statically_bound() || target == cha_monomorphic_target) failed
Vladimir Kozlov
kvn at openjdk.org
Wed Aug 28 22:49:24 UTC 2024
On Tue, 27 Aug 2024 16:11:22 GMT, Dean Long <dlong at openjdk.org> wrote:
> The failing test uses class redefinition, which happen at safepoints. Because JIT compiler threads do not block safepoints, compiler threads can sometimes see multiple versions of the same method. The above assert can fail if target and cha_monomorphic_target are different versions of the same method. The fix is to introduce ciMethod::equals to deal with this possibility.
Okay.
-------------
Marked as reviewed by kvn (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/20730#pullrequestreview-2267391571
More information about the hotspot-compiler-dev
mailing list