On Tue, 2010-01-26 at 09:46 +0100, Daniel Latrémolière wrote:
> C:\Users\daniel\Documents\NetBeansProjects\Test\src>"C:\Program 
> Files\Java\jdk1.7.0\bin\java.exe" -XX:+UnlockExperimentalVMOptions 
> -XX:+EnableMethodHandles -XX:+EnableInvokeDynamic Test
> Direct (100000): 313
> Handle (25740): 133
> Direct (100000): 228
> Handle (12496): 32
> Direct (100000): 222
> Handle (1): -26146065545629
> Direct (100000): 221
> Handle (1): -26146065545349
> Direct (100000): 222
> Handle (1): -26146065545069
> Direct (100000): 220
> Handle (1): -26146065544790
> 
> C:\Users\daniel\Documents\NetBeansProjects\Test\src>"C:\Program 
> Files\Java\jdk1.7.0\bin\java.exe" -XX:+UnlockExperimentalVMOptions 
> -XX:+EnableMethodHandles -XX:+EnableInvokeDynamic Test
> Direct (100000): 311
> Handle (25740): 137
> Direct (100000): 228
> Handle (12496): 32
> Direct (100000): 223
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d965f33, pid=1008, 
> tid=3012
> #
> # JRE version: 7.0-b80
> # Java VM: Java HotSpot(TM) Client VM (17.0-b07 mixed mode, sharing 
> windows-x86
> )
> # Problematic frame:
> # V  [jvm.dll+0xb5f33]
> #
> # An error report file with more information is saved as:
> # C:\Users\daniel\Documents\NetBeansProjects\Test\src\hs_err_pid1008.log
> #
> # If you would like to submit a bug report, please visit:
> #   http://java.sun.com/webapps/bugreport/crash.jsp
> #

I took me some time to see the actual problem:  there's no JSR 292
support for the client compiler yet.  I'm currently working on that and
it's almost finished.

To successfully run your test use the server compiler:

java.exe -server -XX:+UnlockExperimentalVMOptions -XX:+EnableMethodHandles 
-XX:+EnableInvokeDynamic Test

-- Christian

_______________________________________________
mlvm-dev mailing list
[email protected]
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to