# HG changeset patch # User shade # Date 1553013058 -3600 # Node ID 35d9d8c13d30f1bca900f8d97b28a79cecec6601 # Parent a49d6f06f0d5c9470654e628c7d09b3ff3058ca3 8220718: Missing ResourceMark in nmethod::metadata_do Reviewed-by: mdoerr, zgu diff -r a49d6f06f0d5 -r 35d9d8c13d30 src/share/vm/code/nmethod.cpp --- a/src/share/vm/code/nmethod.cpp Thu Jan 31 04:49:46 2019 -0800 +++ b/src/share/vm/code/nmethod.cpp Tue Mar 19 17:30:58 2019 +0100 @@ -2176,6 +2176,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();