--- old/src/hotspot/share/code/compiledIC.cpp Thu Mar 29 19:50:53 2018 +++ new/src/hotspot/share/code/compiledIC.cpp Thu Mar 29 19:50:53 2018 @@ -235,7 +235,7 @@ assert(k->verify_itable_index(itable_index), "sanity check"); #endif //ASSERT CompiledICHolder* holder = new CompiledICHolder(call_info->resolved_method()->method_holder(), - call_info->resolved_klass()); + call_info->resolved_klass(), false); holder->claim(); InlineCacheBuffer::create_transition_stub(this, holder, entry); } else { @@ -525,9 +525,11 @@ return true; } // itable stubs also use CompiledICHolder - if (VtableStubs::is_entry_point(entry) && VtableStubs::stub_containing(entry)->is_itable_stub()) { - return true; + if (cb != NULL && cb->is_vtable_blob()) { + VtableStub* s = VtableStubs::entry_point(entry); + return (s != NULL) && s->is_itable_stub(); } + return false; }