src/share/vm/runtime/synchronizer.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/runtime/synchronizer.cpp Mon Nov 12 10:52:11 2012
--- new/src/share/vm/runtime/synchronizer.cpp Mon Nov 12 10:52:11 2012
*** 448,459 ****
--- 448,457 ----
//
// As a general policy we use "volatile" to control compiler-based reordering
// and explicit fences (barriers) to control for architectural reordering performed
// by the CPU(s) or platform.
static int MBFence (int x) { OrderAccess::fence(); return x; }
struct SharedGlobals {
// These are highly shared mostly-read variables.
// To avoid false-sharing they need to be the sole occupants of a $ line.
double padPrefix [8];
volatile int stwRandom ;
src/share/vm/runtime/synchronizer.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File