comparison src/share/vm/runtime/objectMonitor.hpp @ 14309:63a4eb8bcd23

8025856: Fix typos in the GC code Summary: Fix about 440 typos in comments in the VM code Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
author jwilhelm
date Thu, 23 Jan 2014 14:47:23 +0100
parents 9758d9f36299
children 4ca6dc0799b6
comparison
equal deleted inserted replaced
14308:870aedf4ba4f 14309:63a4eb8bcd23
99 static int WaitSet_offset_in_bytes() { return offset_of(ObjectMonitor, _WaitSet) ; } 99 static int WaitSet_offset_in_bytes() { return offset_of(ObjectMonitor, _WaitSet) ; }
100 static int Responsible_offset_in_bytes() { return offset_of(ObjectMonitor, _Responsible);} 100 static int Responsible_offset_in_bytes() { return offset_of(ObjectMonitor, _Responsible);}
101 static int Spinner_offset_in_bytes() { return offset_of(ObjectMonitor, _Spinner); } 101 static int Spinner_offset_in_bytes() { return offset_of(ObjectMonitor, _Spinner); }
102 102
103 public: 103 public:
104 // Eventaully we'll make provisions for multiple callbacks, but 104 // Eventually we'll make provisions for multiple callbacks, but
105 // now one will suffice. 105 // now one will suffice.
106 static int (*SpinCallbackFunction)(intptr_t, int) ; 106 static int (*SpinCallbackFunction)(intptr_t, int) ;
107 static intptr_t SpinCallbackArgument ; 107 static intptr_t SpinCallbackArgument ;
108 108
109 109
270 270
271 // TODO-FIXME: _count, _waiters and _recursions should be of 271 // TODO-FIXME: _count, _waiters and _recursions should be of
272 // type int, or int32_t but not intptr_t. There's no reason 272 // type int, or int32_t but not intptr_t. There's no reason
273 // to use 64-bit fields for these variables on a 64-bit JVM. 273 // to use 64-bit fields for these variables on a 64-bit JVM.
274 274
275 volatile intptr_t _count; // reference count to prevent reclaimation/deflation 275 volatile intptr_t _count; // reference count to prevent reclamation/deflation
276 // at stop-the-world time. See deflate_idle_monitors(). 276 // at stop-the-world time. See deflate_idle_monitors().
277 // _count is approximately |_WaitSet| + |_EntryList| 277 // _count is approximately |_WaitSet| + |_EntryList|
278 protected: 278 protected:
279 volatile intptr_t _waiters; // number of waiting threads 279 volatile intptr_t _waiters; // number of waiting threads
280 private: 280 private: