src/share/vm/code/nmethod.cpp

changeset 8713
8dfbb002197a
parent 8647
0b611970fa8b
child 8717
77d9c9da7188
     1.1 --- a/src/share/vm/code/nmethod.cpp	Thu Jan 05 18:55:20 2017 -0500
     1.2 +++ b/src/share/vm/code/nmethod.cpp	Wed Jan 11 04:26:49 2017 -0800
     1.3 @@ -1151,6 +1151,7 @@
     1.4  // Clear ICStubs of all compiled ICs
     1.5  void nmethod::clear_ic_stubs() {
     1.6    assert_locked_or_safepoint(CompiledIC_lock);
     1.7 +  ResourceMark rm;
     1.8    RelocIterator iter(this);
     1.9    while(iter.next()) {
    1.10      if (iter.type() == relocInfo::virtual_call_type) {

mercurial