RFR (S): 8000821: JSR 292: C1 fails to call virtual method (JRUBY-6920)

Christian Thalinger christian.thalinger at oracle.com
Wed Oct 17 14:55:55 PDT 2012


Thank you, Vladimir.  -- Chris

On Oct 17, 2012, at 2:48 PM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:

> Good.
> 
> Vladimir
> 
> Christian Thalinger wrote:
>> http://cr.openjdk.java.net/~twisti/8000821
>> 8000821: JSR 292: C1 fails to call virtual method (JRUBY-6920)
>> Reviewed-by:
>> GraphBuilder::try_method_handle_inline calls GraphBuilder::try_inline
>> to inline the target of method handle calls.  But try_inline doesn't
>> do CHA; GraphBuilder::invoke does that.
>> The easy fix for now without refactoring the whole logic in C1 (which
>> is not trivial, I tried) is to only inline static and statically
>> bindable methods for method handle calls.  This shouldn't affect
>> performance since most methods are statically bindable and C2 doesn't
>> have this problem.
>> src/share/vm/c1/c1_GraphBuilder.cpp



More information about the hotspot-compiler-dev mailing list