Skip to content

Commit 19cae3c

Browse files
author
duke
committed
Automatic merge of jdk:master into master
2 parents 54864a7 + 4b775e6 commit 19cae3c

File tree

2 files changed

+0
-29
lines changed

2 files changed

+0
-29
lines changed

src/hotspot/share/oops/methodData.cpp

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1786,27 +1786,7 @@ void MethodData::clean_method_data(bool always_clean) {
17861786
// methods out of MethodData for all methods.
17871787
void MethodData::clean_weak_method_links() {
17881788
ResourceMark rm;
1789-
for (ProfileData* data = first_data();
1790-
is_valid(data);
1791-
data = next_data(data)) {
1792-
data->clean_weak_method_links();
1793-
}
1794-
17951789
CleanExtraDataMethodClosure cl;
17961790
clean_extra_data(&cl);
17971791
verify_extra_data_clean(&cl);
17981792
}
1799-
1800-
#ifdef ASSERT
1801-
void MethodData::verify_clean_weak_method_links() {
1802-
ResourceMark rm;
1803-
for (ProfileData* data = first_data();
1804-
is_valid(data);
1805-
data = next_data(data)) {
1806-
data->verify_clean_weak_method_links();
1807-
}
1808-
1809-
CleanExtraDataMethodClosure cl;
1810-
verify_extra_data_clean(&cl);
1811-
}
1812-
#endif // ASSERT

src/hotspot/share/oops/methodData.hpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,6 @@ class DataLayout {
238238

239239
// GC support
240240
void clean_weak_klass_links(bool always_clean);
241-
242-
// Redefinition support
243-
void clean_weak_method_links();
244-
DEBUG_ONLY(void verify_clean_weak_method_links();)
245241
};
246242

247243

@@ -455,10 +451,6 @@ class ProfileData : public ResourceObj {
455451
// GC support
456452
virtual void clean_weak_klass_links(bool always_clean) {}
457453

458-
// Redefinition support
459-
virtual void clean_weak_method_links() {}
460-
DEBUG_ONLY(virtual void verify_clean_weak_method_links() {})
461-
462454
// CI translation: ProfileData can represent both MethodDataOop data
463455
// as well as CIMethodData data. This function is provided for translating
464456
// an oop in a ProfileData to the ci equivalent. Generally speaking,
@@ -2415,7 +2407,6 @@ class MethodData : public Metadata {
24152407

24162408
void clean_method_data(bool always_clean);
24172409
void clean_weak_method_links();
2418-
DEBUG_ONLY(void verify_clean_weak_method_links();)
24192410
Mutex* extra_data_lock() { return &_extra_data_lock; }
24202411
};
24212412

0 commit comments

Comments
 (0)