hotspot/src/share/vm/runtime/thread.hpp
changeset 30174 01b674a7cb8f
parent 30153 596ed88949ad
child 30175 543725014c9d
equal deleted inserted replaced
30173:13cf7580b000 30174:01b674a7cb8f
  1899   //
  1899   //
  1900   // New threads get their parity set to 0 and change_thread_claim_parity()
  1900   // New threads get their parity set to 0 and change_thread_claim_parity()
  1901   // never set the global parity to 0.
  1901   // never set the global parity to 0.
  1902   static int thread_claim_parity() { return _thread_claim_parity; }
  1902   static int thread_claim_parity() { return _thread_claim_parity; }
  1903   static void change_thread_claim_parity();
  1903   static void change_thread_claim_parity();
  1904   static void assert_all_threads_claimed() PRODUCT_RETURN;
  1904   static void assert_all_threads_claimed() NOT_DEBUG_RETURN;
  1905 
  1905 
  1906   // Apply "f->do_oop" to all root oops in all threads.
  1906   // Apply "f->do_oop" to all root oops in all threads.
  1907   // This version may only be called by sequential code.
  1907   // This version may only be called by sequential code.
  1908   static void oops_do(OopClosure* f, CLDClosure* cld_f, CodeBlobClosure* cf);
  1908   static void oops_do(OopClosure* f, CLDClosure* cld_f, CodeBlobClosure* cf);
  1909   // This version may be called by sequential or parallel code.
  1909   // This version may be called by sequential or parallel code.