review (XS) for 6478991: C1 NullCheckEliminator yields incorrect exceptions

Christian Thalinger christian.thalinger at oracle.com
Mon Mar 28 01:41:29 PDT 2011


On Mar 25, 2011, at 7:37 PM, Tom Rodriguez wrote:
> http://cr.openjdk.java.net/~never/6478991
> 
> 6478991: C1 NullCheckEliminator yields incorrect exceptions
> Reviewed-by:
> 
> checkcast can trap so don't allow explicit null checks to be folded into
> instructions that follow it.  Tested with new test case.

The testcase misses the -Xcomp flag.

-- Christian


More information about the hotspot-compiler-dev mailing list