src/hotspot/share/runtime/vmOperations.hpp
changeset 57758 91a758925be7
parent 55625 f7e8dbb77156
child 58154 060d9d139109
child 58226 408c445d04e8
equal deleted inserted replaced
57757:902cef494e66 57758:91a758925be7
   144     VMOp_Terminating
   144     VMOp_Terminating
   145   };
   145   };
   146 
   146 
   147  private:
   147  private:
   148   Thread*         _calling_thread;
   148   Thread*         _calling_thread;
   149   ThreadPriority  _priority;
       
   150   long            _timestamp;
   149   long            _timestamp;
   151   VM_Operation*   _next;
   150   VM_Operation*   _next;
   152   VM_Operation*   _prev;
   151   VM_Operation*   _prev;
   153 
   152 
   154   // The VM operation name array
   153   // The VM operation name array
   158   VM_Operation()  { _calling_thread = NULL; _next = NULL; _prev = NULL; }
   157   VM_Operation()  { _calling_thread = NULL; _next = NULL; _prev = NULL; }
   159   virtual ~VM_Operation() {}
   158   virtual ~VM_Operation() {}
   160 
   159 
   161   // VM operation support (used by VM thread)
   160   // VM operation support (used by VM thread)
   162   Thread* calling_thread() const                 { return _calling_thread; }
   161   Thread* calling_thread() const                 { return _calling_thread; }
   163   ThreadPriority priority()                      { return _priority; }
   162   void set_calling_thread(Thread* thread);
   164   void set_calling_thread(Thread* thread, ThreadPriority priority);
       
   165 
   163 
   166   long timestamp() const              { return _timestamp; }
   164   long timestamp() const              { return _timestamp; }
   167   void set_timestamp(long timestamp)  { _timestamp = timestamp; }
   165   void set_timestamp(long timestamp)  { _timestamp = timestamp; }
   168 
   166 
   169   // Called by VM thread - does in turn invoke doit(). Do not override this
   167   // Called by VM thread - does in turn invoke doit(). Do not override this