Benchmarking has shown that the very frequent invocations on AbstractClassJavaType’s methods isEqual and getHashCode are megamorphic invocations; from domain knowledge we know that there’s a very high chance that the JavaType on which we’re dispatching is going to be an AbstractClassJavaType - we can help the dispatching process by making an explicit check for this. |