Lines Matching refs:_pending_decrements
82 static volatile jint _pending_decrements; // decrements to _pending_yields
158 // _pending_yields and _pending_decrements. An asynchr requesting
162 // _pending_yields and _pending_decrements by the value seen in
163 // _pending_decrements before the decrement.
170 // a second counter _pending_decrements that only holds the async requests,
175 // Note that, while "_pending_yields >= _pending_decrements" is an invariant,
195 Atomic::inc(&_pending_decrements);
196 assert(_pending_decrements >= 0, "can't be negative");
199 jint decrement = _pending_decrements;
202 // Order important to preserve: _pending_yields >= _pending_decrements
203 Atomic::add(-decrement, &_pending_decrements);
205 assert(_pending_decrements >= 0, "can't be negative");