< prev index next >
src/hotspot/share/runtime/thread.hpp
Print this page
*** 787,797 ****
public:
volatile intptr_t _Stalled;
volatile int _TypeTag;
ParkEvent * _ParkEvent; // for synchronized()
- ParkEvent * _SleepEvent; // for Thread.sleep
ParkEvent * _MuxEvent; // for low-level muxAcquire-muxRelease
int NativeSyncRecursion; // diagnostic
volatile int _OnTrap; // Resume-at IP delta
jint _hashStateW; // Marsaglia Shift-XOR thread-local RNG
--- 787,796 ----
*** 2053,2062 ****
--- 2052,2065 ----
InstanceKlass* class_to_be_initialized() const;
private:
InstanceKlass* _class_to_be_initialized;
+ // java.lang.Thread.sleep support
+ public:
+ ParkEvent * _SleepEvent;
+ bool sleep(jlong millis);
};
// Inline implementation of JavaThread::current
inline JavaThread* JavaThread::current() {
Thread* thread = Thread::current();
< prev index next >