equal
deleted
inserted
replaced
787 |
787 |
788 public: |
788 public: |
789 volatile intptr_t _Stalled; |
789 volatile intptr_t _Stalled; |
790 volatile int _TypeTag; |
790 volatile int _TypeTag; |
791 ParkEvent * _ParkEvent; // for synchronized() |
791 ParkEvent * _ParkEvent; // for synchronized() |
792 ParkEvent * _SleepEvent; // for Thread.sleep |
|
793 ParkEvent * _MuxEvent; // for low-level muxAcquire-muxRelease |
792 ParkEvent * _MuxEvent; // for low-level muxAcquire-muxRelease |
794 int NativeSyncRecursion; // diagnostic |
793 int NativeSyncRecursion; // diagnostic |
795 |
794 |
796 volatile int _OnTrap; // Resume-at IP delta |
795 volatile int _OnTrap; // Resume-at IP delta |
797 jint _hashStateW; // Marsaglia Shift-XOR thread-local RNG |
796 jint _hashStateW; // Marsaglia Shift-XOR thread-local RNG |
2053 InstanceKlass* class_to_be_initialized() const; |
2052 InstanceKlass* class_to_be_initialized() const; |
2054 |
2053 |
2055 private: |
2054 private: |
2056 InstanceKlass* _class_to_be_initialized; |
2055 InstanceKlass* _class_to_be_initialized; |
2057 |
2056 |
|
2057 // java.lang.Thread.sleep support |
|
2058 public: |
|
2059 ParkEvent * _SleepEvent; |
|
2060 bool sleep(jlong millis); |
2058 }; |
2061 }; |
2059 |
2062 |
2060 // Inline implementation of JavaThread::current |
2063 // Inline implementation of JavaThread::current |
2061 inline JavaThread* JavaThread::current() { |
2064 inline JavaThread* JavaThread::current() { |
2062 Thread* thread = Thread::current(); |
2065 Thread* thread = Thread::current(); |