Support the following case:
src/hotspot/share/opto/doCall.cpp:
if (receiver_type == NULL || !receiver_type->higher_equal(mr_type)) {
// Calling this method would include an implicit cast to its holder.
// %%% Not yet implemented. Would throw minor asserts at present.
// %%% The most common wins are already gained by +UseUniqueSubclasses.
// To fix, put the higher_equal check at the call of this routine,
// and add a CheckCastPP to the receiver.
- blocks
-
JDK-8036580 CHA: Improve default method support
- Resolved
-
JDK-8065760 CHA: Improve abstract method support
- Resolved
- relates to
-
JDK-8268371 C2: assert(_gvn.type(obj)->higher_equal(tjp)) failed: cast_up is no longer needed
- Resolved
-
JDK-8268405 Several regressions 4-17% after CHA changes
- Resolved
-
JDK-8275830 C2: Receiver downcast is missing when inlining through method handle linkers
- Resolved
(2 links to)