RFR(S): 8069191: moving predicate out of loops may cause array accesses to bypass null check

John Rose john.r.rose at oracle.com
Fri Apr 17 19:53:29 UTC 2015


> On Apr 17, 2015, at 1:16 AM, Roland Westrelin <roland.westrelin at oracle.com> wrote:
>> So I guess the test in compile.cpp could simply be n->in(0) != NULL

That would be safer I think. 

– John



More information about the hotspot-compiler-dev mailing list