MFENCE vs. LOCK addl

John Rose John.Rose at Sun.COM
Wed Feb 25 15:30:27 PST 2009


Tom Rodriguez wrote:

> Avoiding push/pop at all seems much better to me.

Another way to avoid push/pop is to just double the xchgq/l:

   xchgq rax, (rsp, 0)
   xchgq rax, (rsp, 0)





More information about the hotspot-compiler-dev mailing list