< prev index next >

src/hotspot/share/runtime/vmThread.hpp

Print this page

119 
120   void verify();
121 
122   // Performance measurement
123   static PerfCounter* perf_accumulated_vm_operation_time() {
124     return _perf_accumulated_vm_operation_time;
125   }
126 
127   // Entry for starting vm thread
128   virtual void run();
129 
130   // Creations/Destructions
131   static void create();
132   static void destroy();
133 
134   static void wait_until_executed(VM_Operation* op);
135 
136   // Printing
137   const char* type_name() const { return "VMThread"; }
138 



139  private:
140   // VM_Operation support
141   static VM_Operation*     _cur_vm_operation;   // Current VM operation
142   static VM_Operation*     _next_vm_operation;  // Next VM operation
143 
144   bool set_next_operation(VM_Operation *op);    // Set the _next_vm_operation if possible.
145 
146   // Pointer to single-instance of VM thread
147   static VMThread*     _vm_thread;



148 };
149 
150 #endif // SHARE_RUNTIME_VMTHREAD_HPP

119 
120   void verify();
121 
122   // Performance measurement
123   static PerfCounter* perf_accumulated_vm_operation_time() {
124     return _perf_accumulated_vm_operation_time;
125   }
126 
127   // Entry for starting vm thread
128   virtual void run();
129 
130   // Creations/Destructions
131   static void create();
132   static void destroy();
133 
134   static void wait_until_executed(VM_Operation* op);
135 
136   // Printing
137   const char* type_name() const { return "VMThread"; }
138 
139   static void init_counters();
140   static void print_counters_on(outputStream* st);
141 
142  private:
143   // VM_Operation support
144   static VM_Operation*     _cur_vm_operation;   // Current VM operation
145   static VM_Operation*     _next_vm_operation;  // Next VM operation
146 
147   bool set_next_operation(VM_Operation *op);    // Set the _next_vm_operation if possible.
148 
149   // Pointer to single-instance of VM thread
150   static VMThread*     _vm_thread;
151 
152   static PerfTickCounters* get_perf_timer_for(VM_Operation* op);
153   static PerfCounter* get_perf_counter_for(VM_Operation* op);
154 };
155 
156 #endif // SHARE_RUNTIME_VMTHREAD_HPP
< prev index next >