HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

Link 120667 thumbnail
User 111696 avatar

By bloid
via floatingpoint.tinou.com
Published: Oct 01 2008 / 20:02

The other day I mentioned ConcurrentHashMap favored the judicious use of volatile over locks for read operations. The code becomes significantly more difficult to understand, but the performance gain is also significant. Write operations, however, still involved locking. The question is then, can we improve on write operations and its use of locks? The answer is yes. There are at least two approaches, both of which take a more optimistic approach than locking.
  • 9
  • 0
  • 1188
  • 0

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (9)



Voters Against This Link (0)