src/hotspot/share/code/nmethod.cpp
changeset 51338 aa3bfacc912c
parent 51268 4ac20e5f96ce
child 51473 871581ff5ce5
--- 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();