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

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Oct 1 17:07:37 UTC 2014

Changes are good. Thank you for fixing it. We need to backport it too after testing in jdk9.


On 10/1/14 9:43 AM, Vladimir Ivanov wrote:
> 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