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

Remi Forax forax at univ-mlv.fr
Mon Apr 17 20:47:57 UTC 2017


It's not clear in the current draft, but the compiler should fail if it can not create a const value for a whole expression send as arguments of ldc or indy.
Otherwise it's like any systems doing partial application at compile time, you spend your time finding why there is a regression.

and i still think that the whole Constable interface should not be visible from the user, only Constantables and Intrinsics should be visible.
also all intermediary objects should be value types, no ? 

regards,
Rémi

----- Mail original -----
> De: "Brian Goetz" <brian.goetz at oracle.com>
> À: amber-dev at openjdk.java.net
> Envoyé: Lundi 17 Avril 2017 22:22:41
> Objet: Adopting JEP 303 (Intrinsics for LDC and INVOKEDYNAMIC) into Amber

> 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.


More information about the amber-dev mailing list