Unrecognized VM option '-UseRicochetFrames'
Stephen Bannasch
stephen.bannasch at deanbrook.org
Thu May 12 06:51:55 PDT 2011
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.
Running jtreg tests on java/lang/invoke/6998541/Test6998541.java without -UseRicochetFrames generates a segfault:
$ 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]
More information about the mlvm-dev
mailing list