-
Bug
-
Resolution: Fixed
-
P2
-
8u40, 9
-
C2, -XX:CompileCommand=compileonly,java/lang/invoke/MethodHandleImpl.varargsArray
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8083076 | emb-9 | Vladimir Ivanov | P2 | Resolved | Fixed | b35 |
JDK-8063362 | 8u45 | Vladimir Ivanov | P2 | Resolved | Fixed | b01 |
JDK-8062079 | 8u40 | Vladimir Ivanov | P2 | Closed | Fixed | b13 |
JDK-8071096 | emb-8u47 | Vladimir Ivanov | P2 | Resolved | Fixed | team |
MH returned for a typed array by compiled MethodHandleImpl::varargsArray throws java.lang.ClassCastException: Cannot cast [Ljava.lang.Object; to [L<your fancy type>.
Issue could be reproduced by following tests starting from 8u40-b06:
java/lang/invoke/JavaDocExamplesTest.java
java/lang/invoke/VarargsArrayTest.java
With 8u40-b05 JavaDocExamplesTest pass, so it seems to be a regression.
This test also passes with 8u20-fcs and with 9-b31.
When MethodHandleImpl::varargsArray compilation disabled via -XX:CompileCommand=exclude,java/lang/invoke/MethodHandleImpl.varargsArray both tests pass.
Issue could be reproduced by following tests starting from 8u40-b06:
java/lang/invoke/JavaDocExamplesTest.java
java/lang/invoke/VarargsArrayTest.java
With 8u40-b05 JavaDocExamplesTest pass, so it seems to be a regression.
This test also passes with 8u20-fcs and with 9-b31.
When MethodHandleImpl::varargsArray compilation disabled via -XX:CompileCommand=exclude,java/lang/invoke/MethodHandleImpl.varargsArray both tests pass.
- backported by
-
JDK-8063362 EA: ConnectionGraph::split_unique_types does incorrect scalar replacement
-
- Resolved
-
-
JDK-8071096 EA: ConnectionGraph::split_unique_types does incorrect scalar replacement
-
- Resolved
-
-
JDK-8083076 EA: ConnectionGraph::split_unique_types does incorrect scalar replacement
-
- Resolved
-
-
JDK-8062079 EA: ConnectionGraph::split_unique_types does incorrect scalar replacement
-
- Closed
-
- relates to
-
JDK-8059378 EA: eliminate non-rematerializable allocations of non-escaping objects
-
- Open
-