David Dice's Weblog
Friday May 29, 2009
Instruction selection for volatile fences : MFENCE vs LOCK:ADD
In the past the JVM has used MFENCE but, because of latency issues on AMD processors and potential pipeline issues on modern Intel processors it appears that a LOCK:ADD of 0 to the top of stack is preferable (Gory Details).
Posted at 12:58PM May 29, 2009 by David Dice in General | Comments[6]