hotspot/src/share/vm/runtime/vm_operations.hpp
changeset 37289 9989add27bf4
parent 36322 218528915a61
child 37466 287c4ebd11b0
equal deleted inserted replaced
37286:67b04a68b881 37289:9989add27bf4
   229     f->do_oop(&_thread); f->do_oop(&_throwable);
   229     f->do_oop(&_thread); f->do_oop(&_throwable);
   230   }
   230   }
   231 };
   231 };
   232 
   232 
   233 class VM_ClearICs: public VM_Operation {
   233 class VM_ClearICs: public VM_Operation {
   234  public:
   234  private:
   235   VM_ClearICs() {}
   235   bool _preserve_static_stubs;
   236   void doit()         { CodeCache::clear_inline_caches(); }
   236  public:
       
   237   VM_ClearICs(bool preserve_static_stubs) { _preserve_static_stubs = preserve_static_stubs; }
       
   238   void doit();
   237   VMOp_Type type() const { return VMOp_ClearICs; }
   239   VMOp_Type type() const { return VMOp_ClearICs; }
   238 };
   240 };
   239 
   241 
   240 // dummy vm op, evaluated just to force a safepoint
   242 // dummy vm op, evaluated just to force a safepoint
   241 class VM_ForceSafepoint: public VM_Operation {
   243 class VM_ForceSafepoint: public VM_Operation {