RFR (XS): 8036667: "assert(adr->is_AddP() && adr->in(AddPNode::Offset)->is_Con()) failed: offset is a constant" with FoldStableValues on
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
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?
On 3/5/14 4:26 PM, Vladimir Ivanov wrote:
> 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.
> Best regards,
> Vladimir Ivanov
More information about the hotspot-compiler-dev