< prev index next >

src/hotspot/share/runtime/objectMonitor.hpp

Print this page
rev 51882 : imported patch 8211176-eager-object-monitor-init

*** 125,134 **** --- 125,137 ---- // intptr_t. There's no reason to use a 64-bit type for this field // in a 64-bit JVM. class ObjectMonitor { public: + static void init(); + static void init_2(); + enum { OM_OK, // no error OM_SYSTEM_ERROR, // operating system error OM_ILLEGAL_MONITOR_STATE, // IllegalMonitorStateException OM_INTERRUPTED, // Thread.interrupt()
*** 171,182 **** volatile jint _waiters; // number of waiting threads private: volatile int _WaitSetLock; // protects Wait Queue - simple spinlock public: - static void Initialize(); - // Only perform a PerfData operation if the PerfData object has been // allocated and if the PerfDataManager has not freed the PerfData // objects which can happen at normal VM shutdown. // #define OM_PERFDATA_OP(f, op_str) \ --- 174,183 ----
*** 300,310 **** intptr_t complete_exit(TRAPS); void reenter(intptr_t recursions, TRAPS); private: void AddWaiter(ObjectWaiter * waiter); - static void DeferredInitialize(); void INotify(Thread * Self); ObjectWaiter * DequeueWaiter(); void DequeueSpecificWaiter(ObjectWaiter * waiter); void EnterI(TRAPS); void ReenterI(Thread * Self, ObjectWaiter * SelfNode); --- 301,310 ----
< prev index next >