diff -r 4a46a9508d91 -r 867c9d296c6b hotspot/src/share/vm/runtime/vm_operations.hpp --- a/hotspot/src/share/vm/runtime/vm_operations.hpp Mon Oct 18 15:43:29 2010 -0700 +++ b/hotspot/src/share/vm/runtime/vm_operations.hpp Tue Oct 19 16:14:34 2010 -0700 @@ -231,12 +231,18 @@ bool allow_nested_vm_operations() const { return true; } }; + +// Deopt helper that can deoptimize frames in threads other than the +// current thread. Only used through Deoptimization::deoptimize_frame. class VM_DeoptimizeFrame: public VM_Operation { + friend class Deoptimization; + private: JavaThread* _thread; intptr_t* _id; + VM_DeoptimizeFrame(JavaThread* thread, intptr_t* id); + public: - VM_DeoptimizeFrame(JavaThread* thread, intptr_t* id); VMOp_Type type() const { return VMOp_DeoptimizeFrame; } void doit(); bool allow_nested_vm_operations() const { return true; }