RFR: 8346836: C2: Introduce a way to verify the correctness of ConstraintCastNodes at runtime [v7]
Quan Anh Mai
qamai at openjdk.org
Sat Apr 5 06:51:34 UTC 2025
> Hi,
>
> This patch adds a develop flag `VerifyConstraintCasts`, which will verify the correctness of `CastIINode`s and `CastLLNode`s at runtime and crash the VM if the dynamic value lies outside the type value range.
>
> Please take a look, thanks a lot.
Quan Anh Mai has updated the pull request incrementally with one additional commit since the last revision:
make the flag diagnostic
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/22880/files
- new: https://git.openjdk.org/jdk/pull/22880/files/dbb69375..bc8b6af3
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=22880&range=06
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=22880&range=05-06
Stats: 8 lines in 4 files changed: 0 ins; 4 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/22880.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/22880/head:pull/22880
PR: https://git.openjdk.org/jdk/pull/22880
More information about the hotspot-compiler-dev
mailing list