A new Class Hierarchy Analysis implementation is introduced in the HotSpot JVM. It features enhanced handling of abstract and default methods which improves inlining decisions made by the JIT-compilers. The new implementation supersedes the original one and is turned on by default. To help diagnose possible issues related to the new implementation, the original implementation can be turned on by specifying the `-XX:+UnlockDiagnosticVMOptions -XX:-UseVtableBasedCHA` command-line flags. The original implementation may be removed in a future release.
|