diff -r 0bcb90968b3c -r aa3bfacc912c src/hotspot/share/code/nmethod.cpp --- a/src/hotspot/share/code/nmethod.cpp Wed Aug 08 15:11:11 2018 -0400 +++ b/src/hotspot/share/code/nmethod.cpp Wed Aug 08 15:24:21 2018 -0400 @@ -1540,6 +1540,7 @@ } } else if (iter.type() == relocInfo::virtual_call_type) { // Check compiledIC holders associated with this nmethod + ResourceMark rm; CompiledIC *ic = CompiledIC_at(&iter); if (ic->is_icholder_call()) { CompiledICHolder* cichk = ic->cached_icholder();