src/share/vm/oops/instanceKlass.cpp

changeset 4860
46f6f063b272
parent 4719
c8b31b461e1a
child 4891
8be1318fbe77
     1.1 --- a/src/share/vm/oops/instanceKlass.cpp	Wed Mar 20 17:04:45 2013 -0700
     1.2 +++ b/src/share/vm/oops/instanceKlass.cpp	Thu Mar 21 09:27:54 2013 +0100
     1.3 @@ -2228,8 +2228,6 @@
     1.4  }
     1.5  
     1.6  void InstanceKlass::clean_method_data(BoolObjectClosure* is_alive) {
     1.7 -#ifdef COMPILER2
     1.8 -  // Currently only used by C2.
     1.9    for (int m = 0; m < methods()->length(); m++) {
    1.10      MethodData* mdo = methods()->at(m)->method_data();
    1.11      if (mdo != NULL) {
    1.12 @@ -2240,15 +2238,6 @@
    1.13        }
    1.14      }
    1.15    }
    1.16 -#else
    1.17 -#ifdef ASSERT
    1.18 -  // Verify that we haven't started to use MDOs for C1.
    1.19 -  for (int m = 0; m < methods()->length(); m++) {
    1.20 -    MethodData* mdo = methods()->at(m)->method_data();
    1.21 -    assert(mdo == NULL, "Didn't expect C1 to use MDOs");
    1.22 -  }
    1.23 -#endif // ASSERT
    1.24 -#endif // !COMPILER2
    1.25  }
    1.26  
    1.27  

mercurial