[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
http://cr.openjdk.java.net/~vlivanov/8059556/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8059556
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
Parse::do_call().
Testing: regression test
Thanks!
Best regards,
Vladimir Ivanov
More information about the hotspot-compiler-dev
mailing list