newbie startup question
Marcelo Fukushima
takeshi10 at gmail.com
Wed Jul 15 08:09:34 PDT 2009
On Wed, Jul 15, 2009 at 11:29 AM, Raffaello
Giulietti<raffaello.giulietti at gmail.com> wrote:
> Christian Thalinger wrote:
>> Raffaello Giulietti wrote:
>>> Hello,
>>>
>>> I'd like to start playing with da Vinci, in particular with the java.dyn
>>> classes (InvokeDynamic, CallSite, MethodHandle, etc.)
>>>
>>> They seem to be included in the more recent "Java Platform, Standard
>>> Edition 7 Binary Snapshot Releases" found at
>>> http://download.java.net/jdk7/binaries/. So I'm wondering if they are
>>> complete enough and usable or if I shall build Da Vinci from the
>>> Mercurial repos.
>>
>> Yes, current builds have JSR 292 support, although it's not complete.
>
> I just successfully compiled and ran a tiny program with one
> InvokeDynamic call site and the bootstrap method. I did the build in
> NetBeans but had to execute the program on the command line. Running
> inside NetBeans doesn't work right, probably because NB sees confusing
> errors in the source.
>
>> One major point is that there is no compiler support and you have to run
>> your programs with the interpreter (-Xint). This, plus some other
>> fixes, has been fixed in the mlvm repository.
>>
>
> I guess you mean JIT compiler support, not javac.
>
> Seems to work even without -Xint (but, of course, not without
> -XX:+EnableInvokeDynamic). What are the problems that -Xint is supposed
> to circumvent?
i think he meant that invoke dynamic (also refered to 'indy' on this
list) does not work on compiled mode (JIT compiled that is)
>
>
>> Building is not easy, that's right, so it depends on what you want to
>> play with. I'd say, give a binary snapshot a try and if you run into
>> problems, build it yourself. I'd be glad to help you with that.
>>
>
> Christian, I hope to be able to bother neither you nor any other
> subscriber, but I still would like to thank you in advance for your help.
>
> Raffaello
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>
--
http://mapsdev.blogspot.com/
Marcelo Takeshi Fukushima
More information about the mlvm-dev
mailing list