mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8197455: There is some runthese related unused code in bytecodeInterpreter.cpp
Reviewed-by: iignatyev, dholmes
This commit is contained in:
parent
a25a95120e
commit
45f751f518
1 changed files with 0 additions and 29 deletions
|
@ -594,10 +594,6 @@ BytecodeInterpreter::run(interpreterState istate) {
|
||||||
VERIFY_OOP(rcvr);
|
VERIFY_OOP(rcvr);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
// #define HACK
|
|
||||||
#ifdef HACK
|
|
||||||
bool interesting = false;
|
|
||||||
#endif // HACK
|
|
||||||
|
|
||||||
/* QQQ this should be a stack method so we don't know actual direction */
|
/* QQQ this should be a stack method so we don't know actual direction */
|
||||||
guarantee(istate->msg() == initialize ||
|
guarantee(istate->msg() == initialize ||
|
||||||
|
@ -649,19 +645,6 @@ BytecodeInterpreter::run(interpreterState istate) {
|
||||||
os::breakpoint();
|
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.
|
// Lock method if synchronized.
|
||||||
if (METHOD->is_synchronized()) {
|
if (METHOD->is_synchronized()) {
|
||||||
// oop rcvr = locals[0].j.r;
|
// oop rcvr = locals[0].j.r;
|
||||||
|
@ -793,18 +776,6 @@ BytecodeInterpreter::run(interpreterState istate) {
|
||||||
// resume
|
// resume
|
||||||
os::breakpoint();
|
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.
|
// returned from a java call, continue executing.
|
||||||
if (THREAD->pop_frame_pending() && !THREAD->pop_frame_in_process()) {
|
if (THREAD->pop_frame_pending() && !THREAD->pop_frame_in_process()) {
|
||||||
goto handle_Pop_Frame;
|
goto handle_Pop_Frame;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue