diff -r 67b04a68b881 -r 9989add27bf4 hotspot/src/share/vm/runtime/vm_operations.cpp --- 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;