RFR: 8283408: Fix a C2 crash when filling arrays with unsafe [v2]
Pengfei Li
pli at openjdk.java.net
Tue Mar 22 03:43:10 UTC 2022
On Mon, 21 Mar 2022 08:17:30 GMT, Roland Westrelin <roland at openjdk.org> wrote:
>> Pengfei Li has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Add a few comments
>
> src/hotspot/share/opto/loopTransform.cpp line 4046:
>
>> 4044: Node* from = new AddPNode(base, base, index);
>> 4045: _igvn.register_new_node_with_optimizer(from);
>> 4046: if (offset != NULL) {
>
> A comment here that this happens with unsafe would be useful.
Comments are added. Thanks!
-------------
PR: https://git.openjdk.java.net/jdk/pull/7884
More information about the hotspot-compiler-dev
mailing list