hotspot/src/share/vm/runtime/vm_operations.cpp
changeset 37289 9989add27bf4
parent 36322 218528915a61
child 37296 613278eb2a1e
--- a/hotspot/src/share/vm/runtime/vm_operations.cpp	Sun Apr 03 21:44:54 2016 -0700
+++ b/hotspot/src/share/vm/runtime/vm_operations.cpp	Tue Apr 05 01:46:40 2016 -0700
@@ -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;