changeset 53399:bf806003a4de

8217399: Backout 8217358 Reviewed-by: kvn
author vlivanov
date Fri, 18 Jan 2019 17:34:31 -0800
parents dd1be616c95e
children 6a3586523418
files src/hotspot/share/opto/doCall.cpp
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/opto/doCall.cpp	Sat Jan 19 09:20:47 2019 +0800
+++ b/src/hotspot/share/opto/doCall.cpp	Fri Jan 18 17:34:31 2019 -0800
@@ -261,8 +261,7 @@
           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_recompiles(caller, bci, reason)
+              !too_many_traps(caller, bci, reason)
              ) {
             // Generate uncommon trap for class check failure path
             // in case of monomorphic or bimorphic virtual call site.