< prev index next >

src/share/vm/oops/methodData.cpp

Print this page
rev 10455 : [mq]: webrev.01

*** 1726,1735 **** --- 1726,1736 ---- } #endif } void MethodData::clean_method_data(BoolObjectClosure* is_alive) { + ResourceMark rm; for (ProfileData* data = first_data(); is_valid(data); data = next_data(data)) { data->clean_weak_klass_links(is_alive); }
*** 1742,1751 **** --- 1743,1753 ---- clean_extra_data(&cl); verify_extra_data_clean(&cl); } void MethodData::clean_weak_method_links() { + ResourceMark rm; for (ProfileData* data = first_data(); is_valid(data); data = next_data(data)) { data->clean_weak_method_links(); }
*** 1755,1764 **** --- 1757,1767 ---- verify_extra_data_clean(&cl); } #ifdef ASSERT void MethodData::verify_clean_weak_method_links() { + ResourceMark rm; for (ProfileData* data = first_data(); is_valid(data); data = next_data(data)) { data->verify_clean_weak_method_links(); }
< prev index next >