Adopting JEP 303 (Intrinsics for LDC and INVOKEDYNAMIC) into Amber

Vicente Romero vicente.romero at oracle.com
Tue Apr 18 13:31:55 UTC 2017


Hi,

On 04/18/2017 02:56 AM, Hontvári Attila wrote:
> I think in Constables, line 750 (DynamicConstant::resolveConstant) 
> should invoke invokeWithArguments instead of invokeExact. 
> Constables::resolveArgs returns a generic array, but 
> MethodHandle::invokeExact is a sigpoly method.

DynamicConstant are included in the API but there is still no full 
support in the compiler, so this code hasn't been fully tested. We will 
revisit it with your suggestion in mind,

>
> 2017-04-17 22:22 keltezéssel, Brian Goetz írta:
>> JEP 303 (Intrinsics for LDC and INVOKEDYNAMIC) is hereby adopted into 
>> Project Amber.
>>
>> A first draft of the API can be found at:
>>
>>     http://cr.openjdk.java.net/~briangoetz/JDK-8178320/webrev/
>>
>> Prototype implementation coming soon.
>>
>>
>>
>
Thanks,
Vicente


More information about the amber-dev mailing list