RFR: 8263707: C1 RangeCheckEliminator support constant array and NewMultiArray [v2]

Hui Shi hshi at openjdk.java.net
Wed Mar 24 03:38:59 UTC 2021


> …rray
> 
> C1 misses range check elimination opportunities for constant and NewMultiArray with fixed length now. This patch adds constant length node for load/store Indexed node when array is constant array or allocated with NewMultiArray  and its first dimension length is constant.
> 
> Tested on linux x64 release/fastdebug with tier1 and tier2.
> 
> Regards
> Hui

Hui Shi has updated the pull request incrementally with one additional commit since the last revision:

  Add testcase and merge ifs

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3041/files
  - new: https://git.openjdk.java.net/jdk/pull/3041/files/c7d28819..3831aa1c

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3041&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3041&range=00-01

  Stats: 157 lines in 2 files changed: 152 ins; 1 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3041.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3041/head:pull/3041

PR: https://git.openjdk.java.net/jdk/pull/3041


More information about the hotspot-compiler-dev mailing list