RFR: JDK-8294902: Undefined Behavior in C2 regalloc with null references [v6]

Vladimir Ivanov vlivanov at openjdk.org
Fri Dec 2 18:10:04 UTC 2022


On Fri, 2 Dec 2022 10:58:26 GMT, Andrew Haley <aph at openjdk.org> wrote:

>> src/hotspot/share/opto/postaloc.cpp line 259:
>> 
>>> 257:   if (!can_change_regs) {
>>> 258:     return blk_adjust;          // Only check stupid copies!
>>> 259:   }
>> 
>> Style nit here and in other places: weren't these blocks separated by newline before?
>
> I'm not sure what you mean. Can you make these Suggestions? Thanks.

> weren't these blocks separated by newline before?

They were, but also there were no braces around.

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

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


More information about the hotspot-dev mailing list