Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/simpleThresholdPolicy.cpp @ 17912:653e11c86c5a
8041959: Skip replay parsing errors with ReplayIgnoreInitErrors
Summary: Allow replay compilation with replay file parsing error.
Reviewed-by: twisti, iveresov
author | kvn |
---|---|
date | Tue, 29 Apr 2014 10:29:56 -0700 |
parents | 7150b16fda52 |
children | 52b4284cb496 41dcdd636080 |
comparison
equal
deleted
inserted
replaced
17911:f48e481abef0 | 17912:653e11c86c5a |
---|---|
188 nmethod* SimpleThresholdPolicy::event(methodHandle method, methodHandle inlinee, | 188 nmethod* SimpleThresholdPolicy::event(methodHandle method, methodHandle inlinee, |
189 int branch_bci, int bci, CompLevel comp_level, nmethod* nm, JavaThread* thread) { | 189 int branch_bci, int bci, CompLevel comp_level, nmethod* nm, JavaThread* thread) { |
190 if (comp_level == CompLevel_none && | 190 if (comp_level == CompLevel_none && |
191 JvmtiExport::can_post_interpreter_events() && | 191 JvmtiExport::can_post_interpreter_events() && |
192 thread->is_interp_only_mode()) { | 192 thread->is_interp_only_mode()) { |
193 return NULL; | |
194 } | |
195 if (CompileTheWorld || ReplayCompiles) { | |
196 // Don't trigger other compiles in testing mode | |
193 return NULL; | 197 return NULL; |
194 } | 198 } |
195 nmethod *osr_nm = NULL; | 199 nmethod *osr_nm = NULL; |
196 | 200 |
197 handle_counter_overflow(method()); | 201 handle_counter_overflow(method()); |