Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantReadWriteLock.java263 static final int SHARED_SHIFT = 16; field in ReentrantReadWriteLock.Sync
264 static final int SHARED_UNIT = (1 << SHARED_SHIFT);
265 static final int MAX_COUNT = (1 << SHARED_SHIFT) - 1;
266 static final int EXCLUSIVE_MASK = (1 << SHARED_SHIFT) - 1;
269 static int sharedCount(int c) { return c >>> SHARED_SHIFT; } in sharedCount()