
| Key: |
UP-1451
|
| Type: |
Bug
|
| Status: |
Open
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
Brad Johnson
|
| Votes: |
1
|
| Watchers: |
2
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
Issue Links:
|
Generic Relation
|
|
This issue relates to:
|
|
UP-1449
RDBMDistributedLayoutStore should use...
|
|
|
|
|
|
|
|
In the following code:
Map mLock
getReadWriteLock()
acquireReadLock()
releaseReadLock()
This code never actually locks with a write lock . So, I don't think the ReadWriteLock has any effect.
From the javadoc "A ReadWriteLock maintains a pair of associated locks, one for read-only operations and one for writing. The read lock may be held simultaneously by multiple reader threads, so long as there are no writers. "
|
|
Description
|
In the following code:
Map mLock
getReadWriteLock()
acquireReadLock()
releaseReadLock()
This code never actually locks with a write lock . So, I don't think the ReadWriteLock has any effect.
From the javadoc "A ReadWriteLock maintains a pair of associated locks, one for read-only operations and one for writing. The read lock may be held simultaneously by multiple reader threads, so long as there are no writers. " |
Show » |
|
http://www.ja-sig.org/issues/browse/UP-1487