Simple dynamic language using invokedynamic
Jochen Theodorou
blackdrag at gmx.org
Wed Jun 24 06:37:03 PDT 2009
Jochen Theodorou schrieb:
[...]
> [...]
>> A "make help" in sources/ gives you a list of targets and one of the
>> targets is:
>>
>> debug_build
>
> thanks... but this seems to say, that all the patches got applied. And
> then that means that for me the mlvm is not working at all. Even simple
> things won't do.
>
> strange... all of a sudden I get a compilation error:
>
>> /home/blackdrag/coding/davinci/mlvm/sources/hotspot/src/cpu/x86/vm/methodHandles_x86.cpp: In function 'void trace_method_handle_stub(const char*, oopDesc*, intptr_t*, intptr_t*)':
>> /home/blackdrag/coding/davinci/mlvm/sources/hotspot/src/cpu/x86/vm/methodHandles_x86.cpp:276: error: format '%016lx' expects type 'long unsigned int', but argument 3 has type 'oopDesc*'
>> /home/blackdrag/coding/davinci/mlvm/sources/hotspot/src/cpu/x86/vm/methodHandles_x86.cpp:276: error: format '%016lx' expects type 'long unsigned int', but argument 4 has type 'intptr_t*'
>> make[7]: *** [methodHandles_x86.o] Error 1
I can confirm for one, that this happens only for the debug_build goal
and second that I still get:
> Exception in thread "main" java.lang.InternalError
> at sun.dyn.MethodHandleNatives.init(Native Method)
> at sun.dyn.DirectMethodHandle.<init>(DirectMethodHandle.java:48)
> at sun.dyn.MethodHandleImpl.findMethod(MethodHandleImpl.java:163)
> at java.dyn.MethodHandles$Lookup.findStatic(MethodHandles.java:202)
> at Hello.<clinit>(Hello.java:49)
> at sun.dyn.MethodHandleNatives.init(Native Method)
> at sun.dyn.DirectMethodHandle.<init>(DirectMethodHandle.java:48)
> at sun.dyn.MethodHandleImpl.findMethod(MethodHandleImpl.java:163)
> at java.dyn.MethodHandles$Lookup.findStatic(MethodHandles.java:202)
> at Main.main(Main.java:47)
for the javaone examples John gave me a link to.
bye Jochen
--
Jochen "blackdrag" Theodorou
The Groovy Project Tech Lead (http://groovy.codehaus.org)
http://blackdragsview.blogspot.com/
More information about the mlvm-dev
mailing list