< prev index next >
src/share/vm/runtime/thread.hpp
Print this page
*** 1894,1911 ****
// which is updated by calling change_thread_claim_parity().
//
// For this to work change_thread_claim_parity() needs to be called
// exactly once in sequential code before starting parallel tasks
// that should claim threads.
- //
- // If the client meats this spec, then "thread claim parity" will have
- // the following properties:
- // a) to return a different value than was returned before the last
- // call to change_strong_roots_parity, and
- // c) to never return a distinguished value (zero) with which such
- // task-claiming variables may be initialized, to indicate "never
- // claimed".
static int thread_claim_parity() { return _thread_claim_parity; }
static void change_thread_claim_parity();
static void assert_all_threads_claimed() PRODUCT_RETURN;
// Apply "f->do_oop" to all root oops in all threads.
--- 1894,1903 ----
< prev index next >