Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2206209 | 7 | Christian Thalinger | P3 | Closed | Fixed | b128 |
JDK-2205658 | 6u25 | Christian Thalinger | P3 | Resolved | Fixed | b01 |
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)
$ 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)
- backported by
-
JDK-2205658 JSR 292 InvokeDynamicPrintArgs fails with: assert(_adapter == NULL) failed: init'd to NULL
- Resolved
-
JDK-2206209 JSR 292 InvokeDynamicPrintArgs fails with: assert(_adapter == NULL) failed: init'd to NULL
- Closed
- duplicates
-
JDK-7015515 JSR 292 VM requires -XX:+EnableInvokeDynamic to work with MethodHandles
- Closed
- relates to
-
JDK-7007377 JSR 292 MethodHandlesTest.testCastFailure fails on SPARC with -Xcomp +DeoptimizeALot
- Closed