RFR(M): 8054478 C2: Incorrectly compiled char array access crashes JVM
vladimir.kozlov at oracle.com
Thu Nov 6 20:30:30 UTC 2014
register_new_node() place/map a node into corresponding loop body. That
is what is missing. Also calling _igvn.transform() here could be
dangerous during this graph transformation.
On 11/6/14 11:14 AM, Roland Westrelin wrote:
>> insert_castii_before_loop() --> cast_incr_before_loop()
>> You missed registration of new CastII nodes - register_new_node().
> Actually I don’t understand why there’s a need for the register_new_node() call on the CastII nodes since I already _igvn.transform() them.
More information about the hotspot-compiler-dev