< prev index next >
src/hotspot/share/code/compiledMethod.hpp
Print this page
rev 56251 : imported patch 8226705-v1
rev 56252 : imported patch 8226705-v2
@@ -243,13 +243,12 @@
bool is_at_poll_return(address pc);
bool is_at_poll_or_poll_return(address pc);
bool is_marked_for_deoptimization() const { return _mark_for_deoptimization_status != not_marked; }
- void mark_for_deoptimization(bool inc_recompile_counts = true) {
- _mark_for_deoptimization_status = (inc_recompile_counts ? deoptimize : deoptimize_noupdate);
- }
+ void mark_for_deoptimization(bool inc_recompile_counts = true);
+
bool update_recompile_counts() const {
// Update recompile counts when either the update is explicitly requested (deoptimize)
// or the nmethod is not marked for deoptimization at all (not_marked).
// The latter happens during uncommon traps when deoptimized nmethod is made not entrant.
return _mark_for_deoptimization_status != deoptimize_noupdate;
< prev index next >