src/hotspot/share/runtime/thread.hpp
changeset 49800 69d7398038c5
parent 49756 129d60b5dac7
child 49848 fcd5df7aa235
equal deleted inserted replaced
49799:33dcb9c42f55 49800:69d7398038c5
   303 
   303 
   304   // The parity of the last strong_roots iteration in which this thread was
   304   // The parity of the last strong_roots iteration in which this thread was
   305   // claimed as a task.
   305   // claimed as a task.
   306   int _oops_do_parity;
   306   int _oops_do_parity;
   307 
   307 
       
   308   // Support for GlobalCounter
       
   309  private:
       
   310   volatile uintx _rcu_counter;
       
   311  public:
       
   312   volatile uintx* get_rcu_counter() {
       
   313     return &_rcu_counter;
       
   314   }
       
   315 
   308  public:
   316  public:
   309   void set_last_handle_mark(HandleMark* mark)   { _last_handle_mark = mark; }
   317   void set_last_handle_mark(HandleMark* mark)   { _last_handle_mark = mark; }
   310   HandleMark* last_handle_mark() const          { return _last_handle_mark; }
   318   HandleMark* last_handle_mark() const          { return _last_handle_mark; }
   311  private:
   319  private:
   312 
   320 
   376 
   384 
   377   // Manage Thread::current()
   385   // Manage Thread::current()
   378   void initialize_thread_current();
   386   void initialize_thread_current();
   379   void clear_thread_current(); // TLS cleanup needed before threads terminate
   387   void clear_thread_current(); // TLS cleanup needed before threads terminate
   380 
   388 
   381   public:
   389  public:
   382   // thread entry point
   390   // thread entry point
   383   virtual void run();
   391   virtual void run();
   384 
   392 
   385   // Testers
   393   // Testers
   386   virtual bool is_VM_thread()       const            { return false; }
   394   virtual bool is_VM_thread()       const            { return false; }