RFR(XS): 8054530: C2: assert(res == old_res) failed: Inconsistency between old and new

Morris Meyer morris.meyer at oracle.com
Wed Aug 13 16:48:08 UTC 2014


Folks,

Could I get a review for this issue?  On Linux-SparcV9 7u72 with Gcc 4.4 
compilers (circa 2010), the asserted calculation leaves the high order 
bit set in the variable old_res, which causes the bug. align_size_up() 
calls for size_t and fixing array_size(int length) to properly pass 
unsigned ints fixes this issue.

This patch has been tested with JPRT against 7u-dev repositories.

Thanks,

         --morris


WEBREV - http://cr.openjdk.java.net/~morris/8054530.01/
JBS - http://bugs.openjdk.java.net/browse/JDK-8054530


More information about the hotspot-compiler-dev mailing list