Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7101843

JSR 292: hprof doesn't work with invokedynamic class files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • 7u6
    • 7
    • tools
    • x86
    • solaris_10

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              never Tom Rodriguez
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: