src/share/vm/code/nmethod.cpp

changeset 8964
77e13f15e396
parent 8185
5cece4584b8e
child 8984
7c2285d86b8d
equal deleted inserted replaced
8954:9deaba76a094 8964:77e13f15e396
1149 } 1149 }
1150 1150
1151 // Clear ICStubs of all compiled ICs 1151 // Clear ICStubs of all compiled ICs
1152 void nmethod::clear_ic_stubs() { 1152 void nmethod::clear_ic_stubs() {
1153 assert_locked_or_safepoint(CompiledIC_lock); 1153 assert_locked_or_safepoint(CompiledIC_lock);
1154 ResourceMark rm;
1154 RelocIterator iter(this); 1155 RelocIterator iter(this);
1155 while(iter.next()) { 1156 while(iter.next()) {
1156 if (iter.type() == relocInfo::virtual_call_type) { 1157 if (iter.type() == relocInfo::virtual_call_type) {
1157 CompiledIC* ic = CompiledIC_at(&iter); 1158 CompiledIC* ic = CompiledIC_at(&iter);
1158 ic->clear_ic_stub(); 1159 ic->clear_ic_stub();

mercurial