src/hotspot/share/runtime/thread.hpp
changeset 52955 f0f3dc30e3bb
parent 52896 98408c7c0b73
child 53084 293cec2f7670
equal deleted inserted replaced
52954:799e964e32b6 52955:f0f3dc30e3bb
  2154   static int         _number_of_non_daemon_threads;
  2154   static int         _number_of_non_daemon_threads;
  2155   static int         _return_code;
  2155   static int         _return_code;
  2156   static int         _thread_claim_parity;
  2156   static int         _thread_claim_parity;
  2157 #ifdef ASSERT
  2157 #ifdef ASSERT
  2158   static bool        _vm_complete;
  2158   static bool        _vm_complete;
  2159   static size_t      _threads_before_barrier_set;
       
  2160 #endif
  2159 #endif
  2161 
  2160 
  2162   static void initialize_java_lang_classes(JavaThread* main_thread, TRAPS);
  2161   static void initialize_java_lang_classes(JavaThread* main_thread, TRAPS);
  2163   static void initialize_jsr292_core_classes(TRAPS);
  2162   static void initialize_jsr292_core_classes(TRAPS);
  2164 
  2163 
  2224   static void metadata_do(void f(Metadata*));
  2223   static void metadata_do(void f(Metadata*));
  2225   static void metadata_handles_do(void f(Metadata*));
  2224   static void metadata_handles_do(void f(Metadata*));
  2226 
  2225 
  2227 #ifdef ASSERT
  2226 #ifdef ASSERT
  2228   static bool is_vm_complete() { return _vm_complete; }
  2227   static bool is_vm_complete() { return _vm_complete; }
  2229 
       
  2230   static size_t threads_before_barrier_set() {
       
  2231     return _threads_before_barrier_set;
       
  2232   }
       
  2233 
       
  2234   static void inc_threads_before_barrier_set() {
       
  2235     ++_threads_before_barrier_set;
       
  2236   }
       
  2237 #endif // ASSERT
  2228 #endif // ASSERT
  2238 
  2229 
  2239   // Verification
  2230   // Verification
  2240   static void verify();
  2231   static void verify();
  2241   static void print_on(outputStream* st, bool print_stacks, bool internal_format, bool print_concurrent_locks, bool print_extended_info);
  2232   static void print_on(outputStream* st, bool print_stacks, bool internal_format, bool print_concurrent_locks, bool print_extended_info);