This post originated from an RSS feed registered with Java Buzz
by News Manager.
Original Post: Java Performance News January 2014
Feed Title: JavaPerformanceTuning.com
Feed URL: http://www.javaperformancetuning.com/newsletters.rss
Feed Description: JavaPerformanceTuning.com lists all the information and resources available for Java performance tuning
We list all the latest Java performance related news and articles. "Locking is considered a pessimistic approach - you're assuming the worst case, that something else will try and change your value while you do, and so you lock them out so that you can guarantee you don't waste your operation. Compare-and-swap is an optimistic approach - you assume that mostly nothing else is going to change the value when you are, so it's best to just give it a go, and deal with (hopefully) the odd failure with a retry"