src/hotspot/share/runtime/thread.hpp
changeset 51600 56309b1b9d9b
parent 51548 35a6956f4243
child 51743 47466ac8dcf0
child 56897 840ad2a9015a
equal deleted inserted replaced
51599:3198179d97fa 51600:56309b1b9d9b
  2144   static int         _number_of_non_daemon_threads;
  2144   static int         _number_of_non_daemon_threads;
  2145   static int         _return_code;
  2145   static int         _return_code;
  2146   static int         _thread_claim_parity;
  2146   static int         _thread_claim_parity;
  2147 #ifdef ASSERT
  2147 #ifdef ASSERT
  2148   static bool        _vm_complete;
  2148   static bool        _vm_complete;
       
  2149   static size_t      _threads_before_barrier_set;
  2149 #endif
  2150 #endif
  2150 
  2151 
  2151   static void initialize_java_lang_classes(JavaThread* main_thread, TRAPS);
  2152   static void initialize_java_lang_classes(JavaThread* main_thread, TRAPS);
  2152   static void initialize_jsr292_core_classes(TRAPS);
  2153   static void initialize_jsr292_core_classes(TRAPS);
  2153 
  2154 
  2213   static void metadata_do(void f(Metadata*));
  2214   static void metadata_do(void f(Metadata*));
  2214   static void metadata_handles_do(void f(Metadata*));
  2215   static void metadata_handles_do(void f(Metadata*));
  2215 
  2216 
  2216 #ifdef ASSERT
  2217 #ifdef ASSERT
  2217   static bool is_vm_complete() { return _vm_complete; }
  2218   static bool is_vm_complete() { return _vm_complete; }
  2218 #endif
  2219 
       
  2220   static size_t threads_before_barrier_set() {
       
  2221     return _threads_before_barrier_set;
       
  2222   }
       
  2223 
       
  2224   static void inc_threads_before_barrier_set() {
       
  2225     ++_threads_before_barrier_set;
       
  2226   }
       
  2227 #endif // ASSERT
  2219 
  2228 
  2220   // Verification
  2229   // Verification
  2221   static void verify();
  2230   static void verify();
  2222   static void print_on(outputStream* st, bool print_stacks, bool internal_format, bool print_concurrent_locks, bool print_extended_info);
  2231   static void print_on(outputStream* st, bool print_stacks, bool internal_format, bool print_concurrent_locks, bool print_extended_info);
  2223   static void print(bool print_stacks, bool internal_format) {
  2232   static void print(bool print_stacks, bool internal_format) {