Monday, November 02, 2009

Volatiles and concurrency - there's still so much to learn

I was trying my hand at tuning some concurrency code last week. The good folks at the Concurrency-interest group showed me how just much there is yet to learn. Sigh..

Here is the Thread - Lazy fetching and volatile fields

Ashwin.

1 comments:

Ashwin Jayaprakash said...

Just for my own future reference. I found some micro-benchmark related to this - how-fast-is-java-volatile-or-atomic-or.html