changeset 48887:368d7a786111

8197455: There is some runthese related unused code in bytecodeInterpreter.cpp Reviewed-by: iignatyev, dholmes
author lmesnik
date Thu, 08 Feb 2018 21:53:06 -0500
parents e1d09bd56d2d
children 7c23209e4873 d2a860bc50a3
files src/hotspot/share/interpreter/bytecodeInterpreter.cpp
diffstat 1 files changed, 0 insertions(+), 29 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/interpreter/bytecodeInterpreter.cpp	Thu Feb 08 17:23:43 2018 -0500
+++ b/src/hotspot/share/interpreter/bytecodeInterpreter.cpp	Thu Feb 08 21:53:06 2018 -0500
@@ -594,10 +594,6 @@
     VERIFY_OOP(rcvr);
   }
 #endif
-// #define HACK
-#ifdef HACK
-  bool interesting = false;
-#endif // HACK
 
   /* QQQ this should be a stack method so we don't know actual direction */
   guarantee(istate->msg() == initialize ||
@@ -649,19 +645,6 @@
         os::breakpoint();
       }
 
-#ifdef HACK
-      {
-        ResourceMark rm;
-        char *method_name = istate->method()->name_and_sig_as_C_string();
-        if (strstr(method_name, "runThese$TestRunner.run()V") != NULL) {
-          tty->print_cr("entering: depth %d bci: %d",
-                         (istate->_stack_base - istate->_stack),
-                         istate->_bcp - istate->_method->code_base());
-          interesting = true;
-        }
-      }
-#endif // HACK
-
       // Lock method if synchronized.
       if (METHOD->is_synchronized()) {
         // oop rcvr = locals[0].j.r;
@@ -793,18 +776,6 @@
         // resume
         os::breakpoint();
       }
-#ifdef HACK
-      {
-        ResourceMark rm;
-        char *method_name = istate->method()->name_and_sig_as_C_string();
-        if (strstr(method_name, "runThese$TestRunner.run()V") != NULL) {
-          tty->print_cr("resume: depth %d bci: %d",
-                         (istate->_stack_base - istate->_stack) ,
-                         istate->_bcp - istate->_method->code_base());
-          interesting = true;
-        }
-      }
-#endif // HACK
       // returned from a java call, continue executing.
       if (THREAD->pop_frame_pending() && !THREAD->pop_frame_in_process()) {
         goto handle_Pop_Frame;