src/hotspot/share/prims/jvmtiEventController.cpp
changeset 58226 408c445d04e8
parent 55608 47af68c44e02
child 58679 9c3209ff7550
equal deleted inserted replaced
58225:4eebb9aadbe3 58226:408c445d04e8
    30 #include "prims/jvmtiEventController.hpp"
    30 #include "prims/jvmtiEventController.hpp"
    31 #include "prims/jvmtiEventController.inline.hpp"
    31 #include "prims/jvmtiEventController.inline.hpp"
    32 #include "prims/jvmtiExport.hpp"
    32 #include "prims/jvmtiExport.hpp"
    33 #include "prims/jvmtiImpl.hpp"
    33 #include "prims/jvmtiImpl.hpp"
    34 #include "prims/jvmtiThreadState.inline.hpp"
    34 #include "prims/jvmtiThreadState.inline.hpp"
       
    35 #include "runtime/deoptimization.hpp"
    35 #include "runtime/frame.hpp"
    36 #include "runtime/frame.hpp"
    36 #include "runtime/thread.inline.hpp"
    37 #include "runtime/thread.inline.hpp"
    37 #include "runtime/threadSMR.hpp"
    38 #include "runtime/threadSMR.hpp"
    38 #include "runtime/vframe.hpp"
    39 #include "runtime/vframe.hpp"
    39 #include "runtime/vframe_hp.hpp"
    40 #include "runtime/vframe_hp.hpp"
   237         ((compiledVFrame*) vf)->code()->mark_for_deoptimization();
   238         ((compiledVFrame*) vf)->code()->mark_for_deoptimization();
   238         ++num_marked;
   239         ++num_marked;
   239       }
   240       }
   240     }
   241     }
   241     if (num_marked > 0) {
   242     if (num_marked > 0) {
   242       VM_Deoptimize op;
   243       Deoptimization::deoptimize_all_marked();
   243       VMThread::execute(&op);
       
   244     }
   244     }
   245   }
   245   }
   246 }
   246 }
   247 
   247 
   248 
   248