-
Enhancement
-
Resolution: Duplicate
-
P3
-
13
Subtype checks sometimes require complex control flow and loop predication can't handle it.
One example is receiver subtype checks for invokeinterface/invokespecial of interface methods: it involves a subtype check against an interface. As JDK-8220708 demonstrates, when the check is loop invariant, it is very beneficial to hoist it out of the loop.
One example is receiver subtype checks for invokeinterface/invokespecial of interface methods: it involves a subtype check against an interface. As JDK-8220708 demonstrates, when the check is loop invariant, it is very beneficial to hoist it out of the loop.
- duplicates
-
JDK-8238691 C2: turn subtype check into macro node
- Resolved
- relates to
-
JDK-8220708 Slow matching of specific regular expressions
- Open
-
JDK-6312651 Compiler should only use verified interface types for optimization
- Closed