< prev index next >

src/hotspot/share/runtime/thread.hpp

Print this page
rev 47862 : imported patch 10.07.open.rebase_20171110.dcubed
rev 47865 : dholmes CR: Fix indents, trailing spaces and various typos. Add descriptions for the '_cnt', '_max' and '_times" fields, add impl notes to document the type choices.
rev 47866 : robinw CR: Fix some inefficient code, update some comments, fix some indents, and add some 'const' specifiers.

*** 1174,1184 **** void set_safepoint_state(ThreadSafepointState *state) { _safepoint_state = state; } bool is_at_poll_safepoint() { return _safepoint_state->is_at_poll_safepoint(); } // JavaThread termination and lifecycle support: void smr_delete(); ! bool on_thread_list() { return _on_thread_list; } void set_on_thread_list() { _on_thread_list = true; } // thread has called JavaThread::exit() or is terminated bool is_exiting() const; // thread is terminated (no longer on the threads list); we compare --- 1174,1184 ---- void set_safepoint_state(ThreadSafepointState *state) { _safepoint_state = state; } bool is_at_poll_safepoint() { return _safepoint_state->is_at_poll_safepoint(); } // JavaThread termination and lifecycle support: void smr_delete(); ! bool on_thread_list() const { return _on_thread_list; } void set_on_thread_list() { _on_thread_list = true; } // thread has called JavaThread::exit() or is terminated bool is_exiting() const; // thread is terminated (no longer on the threads list); we compare
*** 1185,1195 **** // against the two non-terminated values so that a freed JavaThread // will also be considered terminated. bool check_is_terminated(TerminatedTypes l_terminated) const { return l_terminated != _not_terminated && l_terminated != _thread_exiting; } ! bool is_terminated(); void set_terminated(TerminatedTypes t); // special for Threads::remove() which is static: void set_terminated_value(); void block_if_vm_exited(); --- 1185,1195 ---- // against the two non-terminated values so that a freed JavaThread // will also be considered terminated. bool check_is_terminated(TerminatedTypes l_terminated) const { return l_terminated != _not_terminated && l_terminated != _thread_exiting; } ! bool is_terminated() const; void set_terminated(TerminatedTypes t); // special for Threads::remove() which is static: void set_terminated_value(); void block_if_vm_exited();
< prev index next >