8220718: Missing ResourceMark in nmethod::metadata_do

Tue, 19 Mar 2019 17:30:58 +0100

author
shade
date
Tue, 19 Mar 2019 17:30:58 +0100
changeset 9656
35d9d8c13d30
parent 9655
a49d6f06f0d5
child 9657
71aba4a921a0

8220718: Missing ResourceMark in nmethod::metadata_do
Reviewed-by: mdoerr, zgu

src/share/vm/code/nmethod.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/code/nmethod.cpp	Thu Jan 31 04:49:46 2019 -0800
     1.2 +++ b/src/share/vm/code/nmethod.cpp	Tue Mar 19 17:30:58 2019 +0100
     1.3 @@ -2176,6 +2176,7 @@
     1.4          }
     1.5        } else if (iter.type() == relocInfo::virtual_call_type) {
     1.6          // Check compiledIC holders associated with this nmethod
     1.7 +        ResourceMark rm;
     1.8          CompiledIC *ic = CompiledIC_at(&iter);
     1.9          if (ic->is_icholder_call()) {
    1.10            CompiledICHolder* cichk = ic->cached_icholder();

mercurial