RFR: 8263707: C1 RangeCheckEliminator support constant array and NewMultiArray [v2]
Nils Eliasson
neliasso at openjdk.java.net
Tue Mar 30 12:25:13 UTC 2021
On Wed, 24 Mar 2021 03:38:59 GMT, Hui Shi <hshi at openjdk.org> wrote:
>> …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
Looks good.
-------------
Marked as reviewed by neliasso (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/3041
More information about the hotspot-compiler-dev
mailing list