8217358: Optimized build is broken by Shenandoah changes
Reviewed-by: shade
This commit is contained in:
parent
6326bf224e
commit
91646018c8
@ -261,7 +261,8 @@ CallGenerator* Compile::call_generator(ciMethod* callee, int vtable_index, bool
|
||||
Deoptimization::DeoptReason reason = morphism == 2 ?
|
||||
Deoptimization::Reason_bimorphic : Deoptimization::reason_class_check(speculative_receiver_type != 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
|
||||
// in case of monomorphic or bimorphic virtual call site.
|
||||
|
Loading…
x
Reference in New Issue
Block a user