< prev index next >

src/hotspot/share/runtime/synchronizer.hpp

Print this page

        

*** 23,32 **** --- 23,33 ---- */ #ifndef SHARE_VM_RUNTIME_SYNCHRONIZER_HPP #define SHARE_VM_RUNTIME_SYNCHRONIZER_HPP + #include "memory/padded.hpp" #include "oops/markOop.hpp" #include "runtime/basicLock.hpp" #include "runtime/handles.hpp" #include "runtime/perfData.hpp"
*** 157,169 **** static int verify_objmon_isinpool(ObjectMonitor *addr) PRODUCT_RETURN0; private: enum { _BLOCKSIZE = 128 }; // global list of blocks of monitors ! // gBlockList is really PaddedEnd<ObjectMonitor> *, but we don't ! // want to expose the PaddedEnd template more than necessary. ! static ObjectMonitor * volatile gBlockList; // global monitor free list static ObjectMonitor * volatile gFreeList; // global monitor in-use list, for moribund threads, // monitors they inflated need to be scanned for deflation static ObjectMonitor * volatile gOmInUseList; --- 158,168 ---- static int verify_objmon_isinpool(ObjectMonitor *addr) PRODUCT_RETURN0; private: enum { _BLOCKSIZE = 128 }; // global list of blocks of monitors ! static PaddedEnd<ObjectMonitor> * volatile gBlockList; // global monitor free list static ObjectMonitor * volatile gFreeList; // global monitor in-use list, for moribund threads, // monitors they inflated need to be scanned for deflation static ObjectMonitor * volatile gOmInUseList;
< prev index next >