Home
last modified time | relevance | path

Searched refs:eventCount (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
DForkJoinPool.java630 volatile int eventCount; // encoded inactivation count; < 0 if inactive field in ForkJoinPool.WorkQueue
1015 return (eventCount >= 0 && in isApparentlyUnblocked()
1357 w.eventCount = r; // volatile write orders in registerWorker()
1417 if (v.eventCount != (e | INT_SIGN)) in deregisterWorker()
1420 v.eventCount = (e + E_SEQ) & E_MASK; in deregisterWorker()
1617 if (w.eventCount == (e | INT_SIGN) && in signalWork()
1619 w.eventCount = ne; in signalWork()
1667 for (int j = m + m + 1, ec = w.eventCount;;) { in scan()
1692 w.eventCount = ec | INT_SIGN; in scan()
1694 w.eventCount = ec; // back out in scan()
[all …]
/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldPreferencesTest.java883 private int eventCount = 0; field in OldPreferencesTest.MockNodeChangeListener
887 while (eventCount < count) { in waitForEvent()
899 ++eventCount; in childAdded()
908 ++eventCount; in childRemoved()
923 eventCount = 0; in reset()
931 private int eventCount = 0; field in OldPreferencesTest.MockPreferenceChangeListener
935 while (eventCount < count) { in waitForEvent()
947 ++eventCount; in preferenceChange()
958 eventCount = 0; in reset()