equal
deleted
inserted
replaced
2086 |
2086 |
2087 // clearing/querying jni attach status |
2087 // clearing/querying jni attach status |
2088 bool is_attaching_via_jni() const { return _jni_attach_state == _attaching_via_jni; } |
2088 bool is_attaching_via_jni() const { return _jni_attach_state == _attaching_via_jni; } |
2089 bool has_attached_via_jni() const { return is_attaching_via_jni() || _jni_attach_state == _attached_via_jni; } |
2089 bool has_attached_via_jni() const { return is_attaching_via_jni() || _jni_attach_state == _attached_via_jni; } |
2090 inline void set_done_attaching_via_jni(); |
2090 inline void set_done_attaching_via_jni(); |
|
2091 |
|
2092 // Stack dump assistance: |
|
2093 // Track the class we want to initialize but for which we have to wait |
|
2094 // on its init_lock() because it is already being initialized. |
|
2095 void set_class_to_be_initialized(InstanceKlass* k); |
|
2096 InstanceKlass* class_to_be_initialized() const; |
|
2097 |
|
2098 private: |
|
2099 InstanceKlass* _class_to_be_initialized; |
|
2100 |
2091 }; |
2101 }; |
2092 |
2102 |
2093 // Inline implementation of JavaThread::current |
2103 // Inline implementation of JavaThread::current |
2094 inline JavaThread* JavaThread::current() { |
2104 inline JavaThread* JavaThread::current() { |
2095 Thread* thread = Thread::current(); |
2105 Thread* thread = Thread::current(); |