hotspot/src/share/vm/oops/instanceKlass.cpp
changeset 30104 d2b6dea68cb6
parent 29576 c223b0a9872e
child 30107 e3d259b825a1
--- a/hotspot/src/share/vm/oops/instanceKlass.cpp	Wed Mar 18 17:45:47 2015 -0400
+++ b/hotspot/src/share/vm/oops/instanceKlass.cpp	Thu Mar 19 09:47:27 2015 -0400
@@ -716,23 +716,6 @@
 
     // Set up method entry points for compiler and interpreter    .
     m->link_method(m, CHECK);
-
-    // This is for JVMTI and unrelated to relocator but the last thing we do
-#ifdef ASSERT
-    if (StressMethodComparator) {
-      ResourceMark rm(THREAD);
-      static int nmc = 0;
-      for (int j = i; j >= 0 && j >= i-4; j--) {
-        if ((++nmc % 1000) == 0)  tty->print_cr("Have run MethodComparator %d times...", nmc);
-        bool z = MethodComparator::methods_EMCP(m(),
-                   methods()->at(j));
-        if (j == i && !z) {
-          tty->print("MethodComparator FAIL: "); m->print(); m->print_codes();
-          assert(z, "method must compare equal to itself");
-        }
-      }
-    }
-#endif //ASSERT
   }
 }