Mercurial > hg > truffle
diff src/share/vm/oops/methodCounters.hpp @ 10672:e7d07c9bb779
Removed priority compilation queue.
Fixed another race condition in the compilation queue.
Removed Graal-specific compilation policy.
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Tue, 09 Jul 2013 17:53:58 +0200 |
parents | 88672775a26c |
children | 359f7e70ae7f |
line wrap: on
line diff
--- a/src/share/vm/oops/methodCounters.hpp Tue Jul 09 11:21:06 2013 +0200 +++ b/src/share/vm/oops/methodCounters.hpp Tue Jul 09 17:53:58 2013 +0200 @@ -37,10 +37,6 @@ InvocationCounter _invocation_counter; // Incremented before each activation of the method - used to trigger frequency-based optimizations InvocationCounter _backedge_counter; // Incremented before each backedge taken - used to trigger frequencey-based optimizations -#ifdef GRAALVM - jlong _graal_invocation_time; - int _graal_priority; -#endif #ifdef TIERED float _rate; // Events (invocation and backedge counter increments) per millisecond jlong _prev_time; // Previous time the rate was acquired @@ -49,10 +45,6 @@ MethodCounters() : _interpreter_invocation_count(0), _interpreter_throwout_count(0), _number_of_breakpoints(0) -#ifdef GRAALVM - , _graal_invocation_time(0L) - , _graal_priority(0) -#endif #ifdef TIERED , _rate(0), @@ -102,15 +94,6 @@ void decr_number_of_breakpoints() { --_number_of_breakpoints; } void clear_number_of_breakpoints() { _number_of_breakpoints = 0; } -#ifdef GRAALVM - void set_graal_invocation_time(jlong time) { _graal_invocation_time = time; } - jlong graal_invocation_time() { return _graal_invocation_time; } - - void set_graal_priority(int prio) { _graal_priority = prio; } - int graal_priority() { return _graal_priority; } -#endif // GRAAL - - #ifdef TIERED jlong prev_time() const { return _prev_time; } void set_prev_time(jlong time) { _prev_time = time; }