-
Bug
-
Resolution: Duplicate
-
P3
-
7
-
x86
-
solaris_10
hprof aborts when run with classes using the new 292 features.
FWIW, option 2 (hprof) seems like a no-show on u2b08:
headius@headius-vbox-ubuntu:~/projects/redblack$
JAVA_HOME=~/jdk1.7.0_02/ ../jruby/bin/jruby -X+C
-J-Xrunhprof:cpu=times bm1.rb 20
HPROF ERROR: Unknown constant
[../../../src/share/demo/jvmti/java_crw_demo/java_crw_demo.c:693]
[hprof_init.c:210]
HPROF TERMINATED PROCESS
So I'm stuck with sampling.
- Charlie
This should reproduce with any jruby test or one of the 292 tests from mlvm or the JCK ones. Here's a simple command line which will show at least one issue.
/java/re/jdk/1.7.0/latest/binaries/solaris-amd64/bin/java -cp /java/re/jck/7/fcs/binaries/JCK-runtime-7/classes -Xrunhprof:cpu=times javasoft.sqe.tests.vm.instr.invokedynamic.invokedynamic001.invokedynamic00101m1.invokedynamic00101m1
FWIW, option 2 (hprof) seems like a no-show on u2b08:
headius@headius-vbox-ubuntu:~/projects/redblack$
JAVA_HOME=~/jdk1.7.0_02/ ../jruby/bin/jruby -X+C
-J-Xrunhprof:cpu=times bm1.rb 20
HPROF ERROR: Unknown constant
[../../../src/share/demo/jvmti/java_crw_demo/java_crw_demo.c:693]
[hprof_init.c:210]
HPROF TERMINATED PROCESS
So I'm stuck with sampling.
- Charlie
This should reproduce with any jruby test or one of the 292 tests from mlvm or the JCK ones. Here's a simple command line which will show at least one issue.
/java/re/jdk/1.7.0/latest/binaries/solaris-amd64/bin/java -cp /java/re/jck/7/fcs/binaries/JCK-runtime-7/classes -Xrunhprof:cpu=times javasoft.sqe.tests.vm.instr.invokedynamic.invokedynamic001.invokedynamic00101m1.invokedynamic00101m1
- duplicates
-
JDK-7143353 -Xrunhprof fails in Java 7 due to bad switch
-
- Closed
-