How little I know ;)
Writing about web page http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html
I was having a technical chat with Rob Harrop of Interface21 fame and we got talking about java synchronisation and the farce that is double checked locking, both concepts I thought I had a handle on.
Anyways, I decided to do a bit more reading and am astounded at how much I don't know :) Admittedly I don't feel too bad about this because I have never explicitly looked at these in depth, but here are some interesting links:
I thought I knew quite a bit about java until I spoke to Rob :)
Chris May
ISTR reading somewhere that either Java 5 or 6 had fixed the memory model, to the point where a DCL implementation was now possible even on multiprocessor machines – did Rob refer to this at all?
Personally, though, I've never come across a situation where synchronizing was both necessary and not performant enough – though I don't write frameworks so that's probably why
21 Jun 2006, 13:30
Chris May
link
21 Jun 2006, 13:37
Yeah, I thought Java 5 had fixed it as well….. I almost certainly misunderstood Rob's point then :)
21 Jun 2006, 13:44
Add a comment
You are not allowed to comment on this entry as it has restricted commenting permissions.