What is Java's -XX:+UseMembar parameter
I see this parameter in all kinds of places (forums, etc.) and the common answer it help highly concurrent servers. Still, I cannot find an official documentation from sun explaining what it does. Also, was it added in Java 6 or did it exist in Java 5? (BTW, a good place for many hotspot VM parameters is this page ) Update: Java 5 does not boot with this parameter. butterchicken In order to optimise performance, the JVM uses a "pseudo memory barrier" in code to act as a fencing instruction when synchronizing across multiple processors. It is possible to revert back to a "true" memory barrier