src/share/vm/runtime/simpleThresholdPolicy.cpp

changeset 6655
653e11c86c5a
parent 6649
7150b16fda52
child 6876
710a3c8b516e
child 7302
41dcdd636080
     1.1 --- a/src/share/vm/runtime/simpleThresholdPolicy.cpp	Thu May 01 17:57:29 2014 -0700
     1.2 +++ b/src/share/vm/runtime/simpleThresholdPolicy.cpp	Tue Apr 29 10:29:56 2014 -0700
     1.3 @@ -192,6 +192,10 @@
     1.4        thread->is_interp_only_mode()) {
     1.5      return NULL;
     1.6    }
     1.7 +  if (CompileTheWorld || ReplayCompiles) {
     1.8 +    // Don't trigger other compiles in testing mode
     1.9 +    return NULL;
    1.10 +  }
    1.11    nmethod *osr_nm = NULL;
    1.12  
    1.13    handle_counter_overflow(method());

mercurial