File tree 2 files changed +0
-29
lines changed
2 files changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -1786,27 +1786,7 @@ void MethodData::clean_method_data(bool always_clean) {
1786
1786
// methods out of MethodData for all methods.
1787
1787
void MethodData::clean_weak_method_links () {
1788
1788
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
-
1795
1789
CleanExtraDataMethodClosure cl;
1796
1790
clean_extra_data (&cl);
1797
1791
verify_extra_data_clean (&cl);
1798
1792
}
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
Original file line number Diff line number Diff line change @@ -238,10 +238,6 @@ class DataLayout {
238
238
239
239
// GC support
240
240
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 ();)
245
241
};
246
242
247
243
@@ -455,10 +451,6 @@ class ProfileData : public ResourceObj {
455
451
// GC support
456
452
virtual void clean_weak_klass_links (bool always_clean) {}
457
453
458
- // Redefinition support
459
- virtual void clean_weak_method_links () {}
460
- DEBUG_ONLY (virtual void verify_clean_weak_method_links () {})
461
-
462
454
// CI translation: ProfileData can represent both MethodDataOop data
463
455
// as well as CIMethodData data. This function is provided for translating
464
456
// an oop in a ProfileData to the ci equivalent. Generally speaking,
@@ -2415,7 +2407,6 @@ class MethodData : public Metadata {
2415
2407
2416
2408
void clean_method_data (bool always_clean);
2417
2409
void clean_weak_method_links ();
2418
- DEBUG_ONLY (void verify_clean_weak_method_links ();)
2419
2410
Mutex* extra_data_lock () { return &_extra_data_lock; }
2420
2411
};
2421
2412
You can’t perform that action at this time.
0 commit comments