...
Wiki Markup |
---|
\[[API 06|AA. Java References#API 06]\] \[[JavaThreads 04|AA. Java References#JavaThreads 04]\] Section 8.2, "Synchronization and Collection Classes" \[[Goetz 06|AA. Java References#Goetz 06]\] Section 4.4.1, "Client-side Locking," Section 5.2.1, "ConcurrentHashMap" \[[Lee 09|AA. Java References#Lee 09]\] "Map & Compound Operation" |
...
CON11CON02-J. Do not synchronize on a collection view if the backing collection is accessibleEnsure that compound operations on shared variables are atomic 11. Concurrency (CON) CON01CON04-J. Ensure visibility of shared references to immutable objectsthat calls to chained methods are atomic