RFR: JDK-8289748: C2 compiled code crashes with SIGFPE with -XX:+StressLCM and -XX:+StressGCM [v2]
Tobias Holenstein
tholenstein at openjdk.org
Wed Jan 18 14:09:02 UTC 2023
On Mon, 16 Jan 2023 23:45:34 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>> Tobias Holenstein has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - updated JTreg TestRemoveEmptyCountedLoop
>> - create SubINode directly with CastIINode as input
>
> src/hotspot/share/opto/loopTransform.cpp line 3702:
>
>> 3700: Node* cast_ii = ConstraintCastNode::make(cl->in(LoopNode::EntryControl), exact_limit, phase->_igvn.type(exact_limit), ConstraintCastNode::UnconditionalDependency, T_INT);
>> 3701: phase->register_new_node(cast_ii, cl->in(LoopNode::EntryControl));
>> 3702: phase->_igvn.replace_input_of(final_iv, 1, cast_ii);
>
> Why replace input here instead of using it as input when `final_iv` is created?
Hi Vladimir,
You are right. I updated to directly create with `cast_ii` as input to `final_iv`
-------------
PR: https://git.openjdk.org/jdk/pull/11990
More information about the hotspot-compiler-dev
mailing list