[9] RFR (XXS): 8059556: C2: crash while inlining MethodHandle invocation w/ null receiver

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Wed Oct 1 16:43:24 UTC 2014


In case a receiver == null and it is a compile-time constant, it's type 
is TypePtr::NULL_PTR and it is not an oop pointer. Hence, receiver_type 
== NULL. There's no purpose in computing speculative_receiver_type in 
such case.

Make the code in agreement with the similar speculative code in 

Testing: regression test


Best regards,
Vladimir Ivanov

More information about the hotspot-compiler-dev mailing list