src/share/vm/runtime/vm_operations.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/runtime/vm_operations.hpp	Fri Oct 30 00:19:44 2015
--- new/src/share/vm/runtime/vm_operations.hpp	Fri Oct 30 00:19:43 2015

*** 28,37 **** --- 28,38 ---- #include "classfile/javaClasses.hpp" #include "memory/allocation.hpp" #include "oops/oop.hpp" #include "runtime/thread.hpp" #include "utilities/top.hpp" + #include "code/codeCache.hpp" // The following classes are used for operations // initiated by a Java thread but that must // take place in the VMThread.
*** 42,51 **** --- 43,53 ---- template(Dummy) \ template(ThreadStop) \ template(ThreadDump) \ template(PrintThreads) \ template(FindDeadlocks) \ + template(ClearICs) \ template(ForceSafepoint) \ template(ForceAsyncSafepoint) \ template(Deoptimize) \ template(DeoptimizeFrame) \ template(DeoptimizeAll) \
*** 228,237 **** --- 230,246 ---- void oops_do(OopClosure* f) { f->do_oop(&_thread); f->do_oop(&_throwable); } }; + class VM_ClearICs: public VM_Operation { + public: + VM_ClearICs() {} + void doit() { CodeCache::clear_inline_caches(); } + VMOp_Type type() const { return VMOp_ClearICs; } + }; + // dummy vm op, evaluated just to force a safepoint class VM_ForceSafepoint: public VM_Operation { public: VM_ForceSafepoint() {} void doit() {}

src/share/vm/runtime/vm_operations.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File