2009-09-18

"Some Java Concurrency Tips" by Carol McDonald

Here you can read a brief review of some concurrency tips by Carol McDonald


  • Prefer immutable objects/data
  • Hold Locks for as short a time as possible
  • Prefer executors and tasks to threads
  • Prefer Concurrency utilities to wait and notify
  • Producer Consumer Pattern
  • Synchronizers
  • Multithreaded Lazy Initialization is tricky...
  • ...Prefer Normal initialization

No hay comentarios: