RFR: 8263707: C1 RangeCheckEliminator support constant array and NewMultiA…

Hui Shi hshi at openjdk.java.net
Wed Mar 17 06:15:18 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

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

Commit messages:
 - 8263707: C1 RangeCheckEliminator support constant array and NewMultiArray

Changes: https://git.openjdk.java.net/jdk/pull/3041/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3041&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8263707
  Stats: 13 lines in 2 files changed: 10 ins; 0 del; 3 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