< prev index next >
src/hotspot/os/windows/threadCritical_windows.cpp
Print this page
*** 34,44 ****
//
// See threadCritical.hpp for details of this class.
//
static bool initialized = false;
! static volatile jint lock_count = -1;
static HANDLE lock_event;
static DWORD lock_owner = -1;
//
// Note that Microsoft's critical region code contains a race
--- 34,44 ----
//
// See threadCritical.hpp for details of this class.
//
static bool initialized = false;
! static volatile int lock_count = -1;
static HANDLE lock_event;
static DWORD lock_owner = -1;
//
// Note that Microsoft's critical region code contains a race
< prev index next >