-
Bug
-
Resolution: Fixed
-
P3
-
17, 19
-
b14
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8283154 | 17.0.4-oracle | Tobias Hartmann | P3 | Resolved | Fixed | b01 |
JDK-8283024 | 17.0.4 | Martin Doerr | P3 | Resolved | Fixed | b01 |
be a testbug. The test fails expecting the line '@ 3 java.lang.invoke.Invokers$Holder::linkToTargetMethod (9 bytes)
force inline by annotation'.
--- Linux (expected) output ---
> 128 7 % b 3 compiler.jsr292.ResolvedClassTest$TestIndy::test @ 11 (33 bytes)
> @ 3 java.lang.invoke.Invokers$Holder::linkToTargetMethod (9 bytes) force inline by annotation
> @ 5 java.lang.invoke.DirectMethodHandle$Holder::invokeStatic (14 bytes) force inline by annotation
--- AIX (failing) output ---
< 237 7 % b 3 compiler.jsr292.ResolvedClassTest$TestIndy::test @ 11 (33 bytes)
< @ 3 java.lang.invoke.LambdaForm$MH/0x00000007c0002400::linkToTargetMethod (9 bytes) force inline by
annotation
< @ 5 java.lang.invoke.LambdaForm$DMH/0x00000007c0001c00::invokeStatic (14 bytes) force inline by annotation
Update: Issue is not platform specific. It seems to be related to CDS which is not available on AIX. Issue can be reproduced on other platforms using an exploded image.
For future reference, it looks to me that this failure is related to missing pre-generated invokers
- backported by
-
JDK-8283024 [exploded image] ResolvedClassTest fails with similar output
- Resolved
-
JDK-8283154 [exploded image] ResolvedClassTest fails with similar output
- Resolved
- relates to
-
JDK-8247536 Support for pre-generated java.lang.invoke classes in CDS static archive
- Resolved
-
JDK-8279515 C1: No inlining through invokedynamic and invokestatic call sites when resolved class is not linked
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/6dcf10b2
-
Commit openjdk/jdk/7c8ea9f0
-
Review openjdk/jdk17u-dev/231
-
Review openjdk/jdk/7701