[9] RFR (XS): 8036667: "assert(adr->is_AddP() && adr->in(AddPNode::Offset)->is_Con()) failed: offset is a constant" with FoldStableValues on

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Mar 5 16:49:52 PST 2014

Why you did changes in extract_uncommon_trap_request()? How we can get 
phi there?

What is 'off' value in this case? How you can get constant value from C2 
type system (tp->offset()) but not from looking on ideal nodes?

Vladimir K

On 3/5/14 4:26 PM, Vladimir Ivanov wrote:
> http://cr.openjdk.java.net/~vlivanov/8036667/webrev.00/
> https://bugs.openjdk.java.net/browse/JDK-8036667
> 10 lines changed: 8 ins; 0 del; 2 mod
> The assert is too strong. It doesn't take into account the case when
> constant offset comes from phi node.
> The fix is to relax the assertion by skipping phi node case. I decided
> to keep it simple and avoided doing deep verification of the graph.
> Also, fixed a crash w/ -XX:+TraceIterGVN (see callnode.cpp).
> Testing: failing tests.
> Thanks!
> Best regards,
> Vladimir Ivanov

More information about the hotspot-compiler-dev mailing list