C2: fix zeroing elimination with heap allocated value types

Roland Westrelin rwestrel at redhat.com
Tue Jan 3 10:29:17 UTC 2017


Tobias noticed zeroing elimination doesn't trigger when value types are
heap allocated.

http://cr.openjdk.java.net/~roland/valhalla/zeroingelim/webrev.00/

With this change initialization stores are captured by the allocation
and some of them show up as raw memory stores: that's why test9 had to
be tweaked.

Roland.


More information about the valhalla-dev mailing list