Searched refs:SHARED_SHIFT (Results 1 – 1 of 1) sorted by relevance
263 static final int SHARED_SHIFT = 16; field in ReentrantReadWriteLock.Sync264 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()