8217399: Backout 8217358
Reviewed-by: kvn
This commit is contained in:
parent
54815061a1
commit
8f16189ab3
@ -261,8 +261,7 @@ CallGenerator* Compile::call_generator(ciMethod* callee, int vtable_index, bool
|
|||||||
Deoptimization::DeoptReason reason = morphism == 2 ?
|
Deoptimization::DeoptReason reason = morphism == 2 ?
|
||||||
Deoptimization::Reason_bimorphic : Deoptimization::reason_class_check(speculative_receiver_type != NULL);
|
Deoptimization::Reason_bimorphic : Deoptimization::reason_class_check(speculative_receiver_type != NULL);
|
||||||
if ((morphism == 1 || (morphism == 2 && next_hit_cg != NULL)) &&
|
if ((morphism == 1 || (morphism == 2 && next_hit_cg != NULL)) &&
|
||||||
!too_many_traps(caller, bci, reason) &&
|
!too_many_traps(caller, bci, reason)
|
||||||
!too_many_recompiles(caller, bci, reason)
|
|
||||||
) {
|
) {
|
||||||
// Generate uncommon trap for class check failure path
|
// Generate uncommon trap for class check failure path
|
||||||
// in case of monomorphic or bimorphic virtual call site.
|
// in case of monomorphic or bimorphic virtual call site.
|
||||||
|
Loading…
Reference in New Issue
Block a user