Skip to content

Commit a5d8a9c

Browse files
committed
8255617: Zero: purge the remaining bytecode interpreter profiling support
Reviewed-by: coleenp, sgehwolf, jiefu
1 parent 4b88119 commit a5d8a9c

File tree

6 files changed

+9
-178
lines changed

6 files changed

+9
-178
lines changed

src/hotspot/cpu/zero/bytecodeInterpreter_zero.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ const char *BytecodeInterpreter::name_of_field_at_address(address addr) {
4747
DO(_constants);
4848
DO(_method);
4949
DO(_mirror);
50-
DO(_mdx);
5150
DO(_stack);
5251
DO(_msg);
5352
DO(_result);
@@ -84,7 +83,6 @@ void BytecodeInterpreter::layout_interpreterState(interpreterState istate,
8483
istate->set_msg(BytecodeInterpreter::method_resume);
8584
istate->set_bcp_advance(0);
8685
istate->set_oop_temp(NULL);
87-
istate->set_mdx(NULL);
8886
if (caller->is_interpreted_frame()) {
8987
interpreterState prev = caller->get_interpreterState();
9088
prev->set_callee(method);

src/hotspot/cpu/zero/frame_zero.inline.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ inline oop* frame::interpreter_frame_mirror_addr() const {
107107
}
108108

109109
inline intptr_t* frame::interpreter_frame_mdp_addr() const {
110-
return (intptr_t*) &(get_interpreterState()->_mdx);
110+
fatal("Should not call this: Zero never profiles");
111+
return NULL; // silence compiler warnings
111112
}
112113

113114
inline intptr_t* frame::interpreter_frame_tos_address() const {

src/hotspot/cpu/zero/zeroInterpreter_zero.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,6 @@ InterpreterFrame *InterpreterFrame::build(Method* const method, TRAPS) {
749749
istate->set_constants(method->constants()->cache());
750750
istate->set_msg(BytecodeInterpreter::method_entry);
751751
istate->set_oop_temp(NULL);
752-
istate->set_mdx(NULL);
753752
istate->set_callee(NULL);
754753

755754
istate->set_monitor_base((BasicObjectLock *) stack->sp());

0 commit comments

Comments
 (0)