RFR: 8324630: C1: Canonicalizer::do_LookupSwitch doesn't break the loop when the successor is found [v3]
Denghui Dong
ddong at openjdk.org
Fri Jan 26 22:47:46 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.
Denghui Dong has updated the pull request incrementally with one additional commit since the last revision:
binary search
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/17553/files
- new: https://git.openjdk.org/jdk/pull/17553/files/dc755321..9827f0c4
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=17553&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=17553&range=01-02
Stats: 11 lines in 1 file changed: 4 ins; 0 del; 7 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