-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b40
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8083470 | emb-9 | Vladimir Kozlov | P4 | Resolved | Fixed | master |
When a java cast is performed and the cast is optimized away in a compiled method redundant null checks (with deoptimization) can still remain.
This is has been observed with method handles that access fields and elements of arrays and also with the experimental VarHandle work (see http://cr.openjdk.java.net/~psandoz/varhandles/VarHandle-0.1.md).
This is has been observed with method handles that access fields and elements of arrays and also with the experimental VarHandle work (see http://cr.openjdk.java.net/~psandoz/varhandles/VarHandle-0.1.md).
- backported by
-
JDK-8083470 Casting can result in redundant null checks in generated code
-
- Resolved
-
- blocks
-
JDK-8062543 Replace uses of MethodHandleImpl.castReference with Class.cast
-
- Closed
-
- relates to
-
JDK-8062477 Add speculative type profiling for parameters of Class.cast() and Class.isInstance() methods
-
- Open
-
-
JDK-8035809 Improve inlining of Class::cast method
-
- Closed
-