src/share/vm/runtime/thread.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
hotspot Cdiff src/share/vm/runtime/thread.hpp
src/share/vm/runtime/thread.hpp
Print this page
*** 204,218 ****
--- 204,232 ----
volatile uint32_t _suspend_flags;
private:
int _num_nested_signal;
+ DEBUG_ONLY(bool _suspendible_thread;)
+
public:
void enter_signal_handler() { _num_nested_signal++; }
void leave_signal_handler() { _num_nested_signal--; }
bool is_inside_signal_handler() const { return _num_nested_signal > 0; }
+ #ifdef ASSERT
+ void set_suspendible_thread() {
+ _suspendible_thread = true;
+ }
+
+ void clear_suspendible_thread() {
+ _suspendible_thread = false;
+ }
+
+ bool is_suspendible_thread() { return _suspendible_thread; }
+ #endif
+
private:
// Active_handles points to a block of handles
JNIHandleBlock* _active_handles;
// One-element thread local free list
src/share/vm/runtime/thread.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File