2010/01 - Java Concurrency

Victor Grazi, Vice President of Global Application Development at Credit Suisse, has been delivering real-time valuation, reporting, and trading systems to major financial institutions for over 20 years. He is a Java evangelist and has presented at JavaOne,  Java SIG's, and is a regular presenter at Credit Suisse IT Expos.

In this talk we will use animation to visually explore the building blocks of concurrency offered in the java.util.concurrent package. At the heart of the talk is a series of animations that clearly visualize the functionality and timing aspects of each concurrent component. Each animation features buttons that correspond to the method calls associated with that component. Each click of a method button activates a concurrent thread to call that method. The audience will watch how the threads interact with each other in real-time as they contend for access to some blocking structure, as we talk through salient features of the component.

Components covered include,
  • Executors
  • Semaphore
  • Future
  • Reentrant Lock
  • ReadWriteLock
  • Condition
  • BlockingQueue
  • CyclicBarrier
  • CountDownLatch
  • CompletionService 
  • Compare & Swap

Each animation is controlled by the actual Java concurrent component it is illustrating.  So the animation is not only a visual demonstration, it is also a code example. So if you’re still using constructs like Thread.start or wait/notify, you will want to attend this meeting.The animations are packaged as an executable JAR file and can be downloaded from http://sourceforge.net/projects/javaconcurrenta/.

A recording of the meeting is available here.

Sign in  |  Recent Site Activity  |  Terms  |  Report Abuse  |  Print page  |  Powered by Google Sites