equal
deleted
inserted
replaced
2176 |
2176 |
2177 void InstanceKlass::clean_method_data() { |
2177 void InstanceKlass::clean_method_data() { |
2178 for (int m = 0; m < methods()->length(); m++) { |
2178 for (int m = 0; m < methods()->length(); m++) { |
2179 MethodData* mdo = methods()->at(m)->method_data(); |
2179 MethodData* mdo = methods()->at(m)->method_data(); |
2180 if (mdo != NULL) { |
2180 if (mdo != NULL) { |
|
2181 MutexLockerEx ml(SafepointSynchronize::is_at_safepoint() ? NULL : mdo->extra_data_lock()); |
2181 mdo->clean_method_data(/*always_clean*/false); |
2182 mdo->clean_method_data(/*always_clean*/false); |
2182 } |
2183 } |
2183 } |
2184 } |
2184 } |
2185 } |
2185 |
2186 |