On 01/06/2011 10:12 AM, Helmut Eller wrote:
> * John Rose [2011-01-06 02:37] writes:
>
>> "Live constants" are definitely one of the use cases that
>> invokedynamic is designed for.
> Are/will there be any means to link invokedynamic call sites eagerly
> instead of the lazy linking scheme?

No

> E.g. in Lisp there is this form
>
>    (load-time-value<exp>  t)
>
> that is essentially a constant but<exp>  must be evaluated at load time
> and not later (as would be done with lazy linking).

why not using a static final field initialized in <clinit> in that case ?

> Helmut

Rémi
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to