JavaMemoryModel: Major yuck! GET/PUTSTATIC prohibits reordering

From: Doug Lea (
Date: Fri Nov 12 1999 - 07:07:20 EST

This might not be too helpful, but another way to approach statics is
to first note that the rules for statics are almost the same as rules
for volatile. They could even be rephrased as such. But unlike
volatiles, they can sometimes be optimized a little bit. Or, sometimes
pessimized, due to initialization checks.


This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:00:23 EDT