Request for reviews (S): 7128352: assert(obj_node == obj) failed

Tom Rodriguez tom.rodriguez at oracle.com
Mon Jan 9 15:40:36 PST 2012


On Jan 9, 2012, at 2:08 PM, Vladimir Kozlov wrote:

> http://cr.openjdk.java.net/~kvn/7128352/webrev
> 
> 7128352: assert(obj_node == obj) failed
> 
> The assert was added in 7125896 changes. Object reference in monitor info could be CheckCastPP of the locked object. Compare uncasted object nodes.

The change looks fine though it duplicates PhaseTransform::eqv_uncast.  Maybe that should be removed in favor of the new one?  It doesn't make a lot of sense that it's in PhaseTransform in the first place.  Oddly, uncast is depth limited, which might be ok for existing uses, but does your use require that it doesn't give up?

tom

> 
> Also added missing "public" for 7116216/StackOverflow.java.
> 
> Tested with full CTW and compiler regression tests.
> 
> Thanks,
> Vladimir



More information about the hotspot-compiler-dev mailing list