Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/vm_operations.hpp @ 1905:ce6848d0666d
6968367: can_post_on_exceptions is still using VM_DeoptimizeFrame in some places
Reviewed-by: kvn, twisti
author | never |
---|---|
date | Tue, 19 Oct 2010 16:14:34 -0700 |
parents | c18cbe5936b8 |
children | f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1902:0357ff4bd6b2 | 1905:ce6848d0666d |
---|---|
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 |