RFR: 8255670: Improve C2's detection of modified nodes

Vladimir Kozlov kvn at openjdk.org
Wed Sep 14 16:39:48 UTC 2022


On Wed, 14 Sep 2022 08:44:38 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> src/hotspot/share/opto/loopnode.cpp line 5135:
>> 
>>> 5133:           set_loop(halt, l);
>>> 5134:           C->root()->add_req(halt);
>>> 5135:           _igvn._worklist.push(C->root());
>> 
>> Maybe add a method to PhaseIterGVN that does the add_req + push similar to replace_input_of?
>
> @rwestrel Thanks for the suggestion, I will do that

Yes, it is good suggestion.

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

PR: https://git.openjdk.org/jdk/pull/9439


More information about the hotspot-compiler-dev mailing list