RFR(XXS): 8073624: Fix warning "converting to non-pointer type 'bool' from NULL" in arraycopynode.cpp

Roland Westrelin roland.westrelin at oracle.com
Mon Feb 23 15:18:07 UTC 2015


Hi Volker,

> can I please have a review and a sponsor for the following tiny patch
> which fixes a warning introduced by "JDK-6912521 System.arraycopy
> works slower than the simple loop for little lengths":
> 
> http://cr.openjdk.java.net/~simonis/webrevs/2015/8073624/
> https://bugs.openjdk.java.net/browse/JDK-8073624
> 
> For the following code in arraycopynode.cpp:
> 
> bool ArrayCopyNode::finish_transform(...) {
> ...
>    if (in(TypeFunc::Control) != ctl) {
> ...
>      return NULL;
>    }
> }

That looks good to me. Thanks for fixing it. I will push it.

Roland.


More information about the hotspot-compiler-dev mailing list