hotspot/src/share/vm/oops/instanceKlass.cpp
changeset 16611 6807a703dd6b
parent 15935 50da9e5eb858
child 16672 152c041083e1
--- a/hotspot/src/share/vm/oops/instanceKlass.cpp	Wed Mar 20 17:04:45 2013 -0700
+++ b/hotspot/src/share/vm/oops/instanceKlass.cpp	Thu Mar 21 09:27:54 2013 +0100
@@ -2228,8 +2228,6 @@
 }
 
 void InstanceKlass::clean_method_data(BoolObjectClosure* is_alive) {
-#ifdef COMPILER2
-  // Currently only used by C2.
   for (int m = 0; m < methods()->length(); m++) {
     MethodData* mdo = methods()->at(m)->method_data();
     if (mdo != NULL) {
@@ -2240,15 +2238,6 @@
       }
     }
   }
-#else
-#ifdef ASSERT
-  // Verify that we haven't started to use MDOs for C1.
-  for (int m = 0; m < methods()->length(); m++) {
-    MethodData* mdo = methods()->at(m)->method_data();
-    assert(mdo == NULL, "Didn't expect C1 to use MDOs");
-  }
-#endif // ASSERT
-#endif // !COMPILER2
 }