neo4j/neo4j — pull request #2450 by johan-neo (2014-05-23 13:44:50+00:00)
Title: Fixed bug that caused RWLock not to free up entries in txLockElementMap.

The mark flag is used to guard against creating multiple RWLocks for the same resource and has nothing to do with TxLockElement entries.

TxLockElement creation and removal is still safe since it is synchronized on the RWLock.