Rename rootContextOnThisSegment -> rootContextLockedOnThisSegment and concurrentSameThreadContexts -> nestedContextsLockedOnSameSegment -- clearer names

This commit is contained in:
leventov
2015-10-09 19:17:59 +03:00
parent fb6d1facdc
commit f1a13a4dfd
5 changed files with 37 additions and 35 deletions
@@ -80,7 +80,7 @@ public abstract class MapQuery<K, V, R> extends HashQuery<K>
if (underUpdatedLockIsHeld)
s.innerUpdateLock.lock();
boolean searchResultsNotTrusted = underUpdatedLockIsHeld ||
s.concurrentSameThreadContexts;
s.nestedContextsLockedOnSameSegment;
if (hlp.hashLookupPosInit() && ks.searchStateAbsent() && searchResultsNotTrusted)
hlp.closeHashLookupPos();
}