RFR: 8324630: C1: Canonicalizer::do_LookupSwitch doesn't break the loop when the successor is found
Denghui Dong
ddong at openjdk.org
Wed Jan 24 13:42:34 UTC 2024
Hi,
Please review the small change that breaks the loop in Canonicalizer::do_LookupSwitch if the successor is found.
The keys of LookupSwitch are sorted, so there is no need to continue the loop once matched.
Thanks.
-------------
Commit messages:
- 8324630: C1: Canonicalizer::do_LookupSwitch doesn't break the loop when the successor is found
Changes: https://git.openjdk.org/jdk/pull/17553/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17553&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8324630
Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/17553.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17553/head:pull/17553
PR: https://git.openjdk.org/jdk/pull/17553
More information about the hotspot-compiler-dev
mailing list