hotspot/src/share/vm/runtime/vm_operations.hpp
changeset 7106 867c9d296c6b
parent 5547 f4b087cbb361
child 7397 5b173b4ca846
equal deleted inserted replaced
7103:4a46a9508d91 7106:867c9d296c6b
   229   VMOp_Type type() const                        { return VMOp_Deoptimize; }
   229   VMOp_Type type() const                        { return VMOp_Deoptimize; }
   230   void doit();
   230   void doit();
   231   bool allow_nested_vm_operations() const        { return true; }
   231   bool allow_nested_vm_operations() const        { return true; }
   232 };
   232 };
   233 
   233 
       
   234 
       
   235 // Deopt helper that can deoptimize frames in threads other than the
       
   236 // current thread.  Only used through Deoptimization::deoptimize_frame.
   234 class VM_DeoptimizeFrame: public VM_Operation {
   237 class VM_DeoptimizeFrame: public VM_Operation {
       
   238   friend class Deoptimization;
       
   239 
   235  private:
   240  private:
   236   JavaThread* _thread;
   241   JavaThread* _thread;
   237   intptr_t*   _id;
   242   intptr_t*   _id;
   238  public:
       
   239   VM_DeoptimizeFrame(JavaThread* thread, intptr_t* id);
   243   VM_DeoptimizeFrame(JavaThread* thread, intptr_t* id);
       
   244 
       
   245  public:
   240   VMOp_Type type() const                         { return VMOp_DeoptimizeFrame; }
   246   VMOp_Type type() const                         { return VMOp_DeoptimizeFrame; }
   241   void doit();
   247   void doit();
   242   bool allow_nested_vm_operations() const        { return true;  }
   248   bool allow_nested_vm_operations() const        { return true;  }
   243 };
   249 };
   244 
   250