< prev index next >

src/hotspot/share/oops/method.cpp

Print this page

        

@@ -231,10 +231,13 @@
     return 0;
   }
 #ifdef ASSERT
   {
     ResourceMark rm;
+    if (!((is_native() && bcp == code_base()) || contains(bcp) || VMError::is_error_reported())) {
+      tty->print("ouch!\n");
+    }
     assert(is_native() && bcp == code_base() || contains(bcp) || VMError::is_error_reported(),
            "bcp doesn't belong to this method: bcp: " INTPTR_FORMAT ", method: %s",
            p2i(bcp), name_and_sig_as_C_string());
   }
 #endif
< prev index next >