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

JSR 292 InvokeDynamicPrintArgs fails with: assert(_adapter == NULL) failed: init'd to NULL

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b07
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        InvokeDynamicPrintArgs fails on a 64-bit SPARC debug build with:

        $ gamma -XX:+UnlockExperimentalVMOptions -XX:+EnableInvokeDynamic -cp /java/devtools/share/junit/latest/junit.jar:test/java/dyn/ indify.Indify --verify-specifier-count=3 --transitionalJSR292=false --expand-properties --classpath test/java/dyn/ --java InvokeDynamicPrintArgs --check-output
        VM option '+UnlockExperimentalVMOptions'
        VM option '+EnableInvokeDynamic'
        patching InvokeDynamicPrintArgs.main(L)V
        16:invokestatic 6 INDY_nothing()L;...; 19:invokevirtual 7 => invokedynamic 376:InvokeDynamic[0, 374]
        22:invokestatic 8 INDY_bar()L;...; 28:invokevirtual 10 => invokedynamic 383:InvokeDynamic[1, 381]
        31:invokestatic 11 INDY_bar2()L;...; 39:invokevirtual 10 => invokedynamic 385:InvokeDynamic[1, 384]
        42:invokestatic 13 INDY_baz()L;...; 51:invokevirtual 17 => invokedynamic 388:InvokeDynamic[2, 387]
        54:invokestatic 18 INDY_foo()L;...; 59:invokevirtual 20 => invokedynamic 379:InvokeDynamic[0, 378]
        patching InvokeDynamicPrintArgs.bsm(LLL)L
        24:invokestatic 66 MH_printArgs()L => ldc 366:MethodHandle[6, 365]
        patching InvokeDynamicPrintArgs.bsm2(LLLL)L
        69:invokestatic 66 MH_printArgs()L => ldc 366:MethodHandle[6, 365]
        # To suppress the following error report, specify this argument
        # after -XX: or in .hotspotrc: SuppressErrorAt=/methodOop.cpp:691
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/home/twisti/hotspot-comp/hotspot/src/share/vm/oops/methodOop.cpp:691), pid=2007, tid=2
        # assert(_adapter == NULL) failed: init'd to NULL
        #
        # JRE version: 7.0-b123
        # Java VM: OpenJDK 64-Bit Server VM (20.0-b04-internal-jvmg mixed mode solaris-sparc compressed oops)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                twisti Christian Thalinger
                Reporter:
                twisti Christian Thalinger
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: