hotspot/src/share/vm/runtime/vm_operations.cpp
changeset 33160 c59f1676d27e
parent 32401 cc58aeaec340
child 33198 b37ad9fbf681
equal deleted inserted replaced
33159:89b942323bd1 33160:c59f1676d27e
   115 
   115 
   116 void VM_MarkActiveNMethods::doit() {
   116 void VM_MarkActiveNMethods::doit() {
   117   NMethodSweeper::mark_active_nmethods();
   117   NMethodSweeper::mark_active_nmethods();
   118 }
   118 }
   119 
   119 
   120 VM_DeoptimizeFrame::VM_DeoptimizeFrame(JavaThread* thread, intptr_t* id) {
   120 VM_DeoptimizeFrame::VM_DeoptimizeFrame(JavaThread* thread, intptr_t* id, int reason) {
   121   _thread = thread;
   121   _thread = thread;
   122   _id     = id;
   122   _id     = id;
       
   123   _reason = reason;
   123 }
   124 }
   124 
   125 
   125 
   126 
   126 void VM_DeoptimizeFrame::doit() {
   127 void VM_DeoptimizeFrame::doit() {
   127   Deoptimization::deoptimize_frame_internal(_thread, _id);
   128   assert(_reason > Deoptimization::Reason_none && _reason < Deoptimization::Reason_LIMIT, "invalid deopt reason");
       
   129   Deoptimization::deoptimize_frame_internal(_thread, _id, (Deoptimization::DeoptReason)_reason);
   128 }
   130 }
   129 
   131 
   130 
   132 
   131 #ifndef PRODUCT
   133 #ifndef PRODUCT
   132 
   134