...
Tasklist | ||||
---|---|---|---|---|
| ||||
||Completed||Priority||Locked||CreatedDate||CompletedDate||Assignee||Name||
|T|M|F|1270674788771|1271081750004|svoboda|"The simple replacement of the two int fields with atomic integers in this example does not eliminate the race condition because the compound operation a + b is still non-atomic." replace with => a.get() + b.get() ?|
|
...
CON38-J. Do not synchronize on the class object returned by getClass() 11. Concurrency (CON) CON01-J. Ensure that compound operations on shared variables are atomic