RFR: 8259609: C2: optimize long range checks in long counted loops [v12]

Roland Westrelin roland at openjdk.java.net
Mon Oct 25 12:36:06 UTC 2021


On Fri, 22 Oct 2021 06:41:23 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> Roland Westrelin has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   build fix
>
> src/hotspot/share/opto/loopnode.hpp line 1657:
> 
>> 1655:   void try_sink_out_of_loop(Node* n);
>> 1656: 
>> 1657:   Node* clamp(Node* pNode, Node* pNode1, Node* pNode2);
> 
> Argument naming is not consistent with the implementation.

I'll fix the argument names.
-min_jint is min_jint. So there's no way to handle a min_jint (or min_jlong) scale above. How else would you handle it?

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

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


More information about the hotspot-compiler-dev mailing list