mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
01.15.2016 fd33962f8ed2a8d57e61624f3523adde2b25e974
refs
author Matthew Swift <matthew.swift@forgerock.com>
Tuesday, March 1, 2016 23:15 +0100
committer Matthew Swift <matthew.swift@forgerock.com>
Tuesday, March 15, 2016 09:56 +0100
commitfd33962f8ed2a8d57e61624f3523adde2b25e974
tree 9a55c93ea58a685fb498d028fc68fa017d947d29 tree | zip | gz
parent 97cafe6c9cfa077690c61c22ee3fdc8d4501d150 view | diff
OPENDJ-2709 Reduce lock contention in AuthenticatedUsers for modify/delete requests

Added a fast-path check using the read-lock which checks to see if the
targeted entry, or any subordinates, exist in the DITCacheMap.
2 files modified
39 ■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/api/DITCacheMap.java 12 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/core/AuthenticatedUsers.java 27 ●●●● diff | view | raw | blame | history