On May 12, 2011, at 3:51 PM, Stephen Bannasch wrote: > I'm getting some failures running the jtreg tests and wondered whether I > needed to enable or disable Ricochet Frames in theJVM > but that option is unrecognized. > > $ build/bsd-amd64/j2sdk-image/bin/java -XX:-UseRicochetFrame > -versionUnrecognized VM option '-UseRicochetFrame' > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit.
It's called UseRicochetFrames (plural) and it's a diagnostic option. So with a product build you have to use +UnlockDiagnosticVMOptions. > > Running jtreg tests on java/lang/invoke/6998541/Test6998541.java without > -UseRicochetFrames generates a segfault: Hmm, that's odd. It did work for me on 32-bit x86. Can you try that? -- Christian > > $ jtreg -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions > -XX:+EnableInvokeDynamic > -jdk:build/bsd-amd64/j2sdk-image -v:verbose > jdk/test/java/lang/invoke//6998541/Test6998541.java > > ... partial output from: JTwork/java/lang/invoke/6998541/Test6998541.jtr > > #section:main > ----------messages:(3/341)---------- > command: main -Xbatch -XX:+UnlockDiagnosticVMOptions > -XX:ScavengeRootsInCode=2 -DTest6998541.N=100000 -DTest6998541.KIND=cast > Test6998541 > reason: User specified action: run main/othervm -Xbatch > -XX:+UnlockDiagnosticVMOptions -XX:ScavengeRootsInCode=2 > -DTest6998541.N=100000 -DTest6998541.KIND=cast Test6998541 > elapsed time (seconds): 0.678 > ----------System.out:(22/952)---------- > KIND=cast DO_CASTS=true N=100000 > =============== DEBUG MESSAGE: init_AdapterMethodHandle should not issue this > ================ > > # > # A fatal error has been detected by the Java Runtime Environment: > # > # SIGSEGV (0xb) at pc=0x000000010103d536, pid=24910, tid=4416299008 > # > # JRE version: 7.0 > # Java VM: OpenJDK 64-Bit Server VM (21.0-b09 mixed mode bsd-amd64 compressed > oops) > # Problematic frame: > # V [libjvm.dylib+0x3d536] frame::sender_for_compiled_frame(RegisterMap*) > const+0x76 > # > # Failed to write core dump. Core dumps have been disabled. To enable core > dumping, try "ulimit -c unlimited" before starting > Java again > # > # An error report file with more information is saved as: > # /Users/stephen/dev/java/src/mlvm/sources/JTwork/scratch/hs_err_pid24910.log > Could not load hsdis-amd64.dylib; library not loadable; PrintAssembly is > disabled > # > # If you would like to submit a bug report, please visit: > # http://bugreport.sun.com/bugreport/crash.jsp > # > ----------System.err:(0/0)---------- > result: Failed. Unexpected exit from test [exit code: 134] > > > test result: Failed. Unexpected exit from test [exit code: 134] > > _______________________________________________ > mlvm-dev mailing list > mlvm-dev@openjdk.java.net > http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev