RFR: 8254369: Node::disconnect_inputs may skip precedences
Vladimir Kozlov
kvn at openjdk.java.net
Wed Oct 14 23:40:09 UTC 2020
On Wed, 14 Oct 2020 23:32:31 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>> 8254369: Node::disconnect_inputs may skip precedences
>
> src/hotspot/share/opto/node.cpp line 914:
>
>> 912: // Remove precedence edges if any exist
>> 913: // Note: Safepoints may have precedence edges, even during parsing
>> 914: for (uint i = len() - 1; i < len() && i >= req(); --i) {
>
> i < len() check is not needed
I got now why you need to scan reverse.
-------------
PR: https://git.openjdk.java.net/jdk/pull/664
More information about the hotspot-compiler-dev
mailing list