hotspot/src/share/vm/runtime/vm_operations.cpp
changeset 37296 613278eb2a1e
parent 37242 91e5f98fff6f
parent 37289 9989add27bf4
child 38708 8c27a4f8b242
--- a/hotspot/src/share/vm/runtime/vm_operations.cpp	Fri Apr 08 01:00:10 2016 -0400
+++ b/hotspot/src/share/vm/runtime/vm_operations.cpp	Fri Apr 08 12:36:27 2016 -0400
@@ -105,6 +105,14 @@
   }
 }
 
+void VM_ClearICs::doit() {
+  if (_preserve_static_stubs) {
+    CodeCache::cleanup_inline_caches();
+  } else {
+    CodeCache::clear_inline_caches();
+  }
+}
+
 void VM_Deoptimize::doit() {
   // We do not want any GCs to happen while we are in the middle of this VM operation
   ResourceMark rm;