RFR: 8274074: SIGFPE with C2 compiled code with -XX:+StressGCM [v2]
Christian Hagedorn
chagedorn at openjdk.java.net
Fri Sep 24 09:46:24 UTC 2021
On Thu, 23 Sep 2021 15:55:02 GMT, Roland Westrelin <roland at openjdk.org> wrote:
>> Christian Hagedorn has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Extend fix to any loops
>
> src/hotspot/share/opto/loopopts.cpp line 1561:
>
>> 1559: }
>> 1560: _dom_lca_tags_round = 0;
>> 1561: } else if (n_loop == _ltree_root && n->in(0) != NULL && get_loop(n->in(0)) != _ltree_root) {
>
> Couldn't the node be out of this loop but not necessarily out of all loops?
You're right, that's an unnecessary limitation. I've tried to find an example where this happens but could not come up with one. But I'm sure that situation will occur at some point. I pushed an update.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5651
More information about the hotspot-compiler-dev
mailing list