Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.0
-
Component/s: Compiler: Baseline
-
Labels:None
-
Number of attachments :
Description
We should generate inline code sequences for the most common cases of dynamic type checking in the baseline compilers implementation of instanceof/checkcast. In particular, if the LHS type is a resolved proper class or interface the inline sequence is actually smaller and easier to generate than the call to the out-of-line routines we are using now.
Based on the profiles I'm seeing for bloat after r14522, it appears there's an additional 25-35% speedup of prototype images on ppc64-aix running bloat to be had by implementing this feature. That should be enough to get bloat to not time out on nightly ppc regression tests and should have some impact on production performance, at least on initial iteration.