Searched refs:_counter (Results 1 - 14 of 14) sorted by relevance

/openjdk7/hotspot/src/share/vm/runtime/
H A Dtask.hpp52 int _counter; member in class:PeriodicTask
82 jlong tmp = (jlong) _counter + (jlong) delay_time;
85 _counter = 0;
88 _counter += delay_time;
95 assert(_interval > _counter, "task counter greater than interval?");
96 return _interval - _counter;
H A Dtimer.hpp35 jlong _counter; member in class:VALUE_OBJ_CLASS_SPEC
43 void reset() { _counter = 0; }
46 jlong ticks() const { return _counter; }
54 jlong _counter; member in class:VALUE_OBJ_CLASS_SPEC
56 TimeStamp() { _counter = 0; }
57 void clear() { _counter = 0; }
59 bool is_updated() const { return _counter != 0; }
69 jlong ticks() const { return _counter; }
H A Dtimer.cpp49 _counter += t._counter;
61 _counter += os::elapsed_counter() - _start_counter;
67 return TimeHelper::counter_to_seconds(_counter);
72 return _counter / ticks_per_ms;
79 jlong counter = _counter + os::elapsed_counter() - _start_counter;
84 _counter = ticks;
85 if (_counter == 0) _counter = 1;
96 return TimeHelper::counter_to_seconds(new_count - _counter);
[all...]
H A Dpark.hpp50 volatile int _counter ; member in class:Parker
56 _counter = 0 ;
H A Dtask.cpp108 _counter(0), _interval((int) interval_time) {
H A DvmStructs.cpp1269 nonstatic_field(elapsedTimer, _counter, jlong) \
1271 nonstatic_field(InvocationCounter, _counter, unsigned int)
/openjdk7/hotspot/src/share/vm/interpreter/
H A DinvocationCounter.hpp44 unsigned int _counter; // format: [count|carry|state] member in class:VALUE_OBJ_CLASS_SPEC
67 count_increment = count_grain, // use this value to increment the 32bit _counter word
86 void set_carry_flag() { _counter |= carry_mask; }
89 State state() const { return (State)(_counter & state_mask); }
90 bool carry() const { return (_counter & carry_mask) != 0; }
93 int count() const { return _counter >> number_of_noncount_bits; }
102 bool reached_InvocationLimit() const { return _counter >= (unsigned int) InterpreterInvocationLimit; }
103 bool reached_BackwardBranchLimit() const { return _counter >= (unsigned int) InterpreterBackwardBranchLimit; }
107 return (_counter && count_mask) + back_edge_count->_counter >
[all...]
H A DinvocationCounter.cpp34 _counter = 0; // reset all the bits, including the sticky carry
61 int carry = (_counter & carry_mask); // the carry bit is sticky
62 _counter = (init << number_of_noncount_bits) | carry | state;
/openjdk7/hotspot/src/share/vm/utilities/
H A Dworkgroup.hpp82 int counter() { return _counter; }
83 void set_counter(int value) { _counter = value; }
84 int *address_of_counter() { return &_counter; }
95 int _counter; member in class:VALUE_OBJ_CLASS_SPEC
102 _counter = 0;
/openjdk7/hotspot/src/share/vm/opto/
H A Dcallnode.hpp874 NamedCounter* _counter; member in class:AbstractLockNode
898 _counter = NULL;
925 NamedCounter* counter() const { return _counter; }
H A Dcallnode.cpp1534 _counter = OptoRuntime::new_named_counter(state, NamedCounter::LockCounter);
1538 if (_counter) {
1542 _counter->set_tag(NamedCounter::EliminatedLockCounter);
/openjdk7/hotspot/src/os/bsd/vm/
H A Dos_bsd.cpp5837 // since we are doing a lock-free update to _counter.
5838 if (Atomic::xchg(0, &_counter) > 0) return;
5875 if (_counter > 0) { // no wait needed
5876 _counter = 0;
5914 _counter = 0 ;
5931 s = _counter;
5932 _counter = 1;
/openjdk7/hotspot/src/os/linux/vm/
H A Dos_linux.cpp5576 // since we are doing a lock-free update to _counter.
5577 if (Atomic::xchg(0, &_counter) > 0) return;
5614 if (_counter > 0) { // no wait needed
5615 _counter = 0;
5653 _counter = 0 ;
5670 s = _counter;
5671 _counter = 1;
/openjdk7/hotspot/src/os/solaris/vm/
H A Dos_solaris.cpp6418 * mutex/condvar pair, plus _counter.
6419 * Park decrements _counter if > 0, else does a condvar wait. Unpark
6492 // since we are doing a lock-free update to _counter.
6493 if (Atomic::xchg(0, &_counter) > 0) return;
6531 if (_counter > 0) { // no wait needed
6532 _counter = 0;
6575 _counter = 0 ;
6592 s = _counter;
6593 _counter = 1;

Completed in 1109 milliseconds