File tree Expand file tree Collapse file tree 1 file changed +17
-11
lines changed
src/hotspot/share/interpreter/zero Expand file tree Collapse file tree 1 file changed +17
-11
lines changed Original file line number Diff line number Diff line change 133
133
#ifdef PRODUCT
134
134
#define DO_UPDATE_INSTRUCTION_COUNT (opcode )
135
135
#else
136
- #define DO_UPDATE_INSTRUCTION_COUNT (opcode ) \
137
- { \
138
- BytecodeCounter::_counter_value++; \
139
- BytecodeHistogram::_counters[(Bytecodes::Code)opcode]++; \
140
- if (StopInterpreterAt && StopInterpreterAt == BytecodeCounter::_counter_value) os::breakpoint (); \
141
- if (TraceBytecodes) { \
142
- CALL_VM ((void )InterpreterRuntime::trace_bytecode (THREAD, 0 , \
143
- topOfStack[Interpreter::expr_index_at (1 )], \
144
- topOfStack[Interpreter::expr_index_at (2 )]), \
145
- handle_exception); \
146
- } \
136
+ #define DO_UPDATE_INSTRUCTION_COUNT (opcode ) \
137
+ { \
138
+ if (PrintBytecodeHistogram) { \
139
+ BytecodeHistogram::_counters[(Bytecodes::Code)opcode]++; \
140
+ } \
141
+ if (CountBytecodes || TraceBytecodes || StopInterpreterAt > 0 ) { \
142
+ BytecodeCounter::_counter_value++; \
143
+ if (StopInterpreterAt == BytecodeCounter::_counter_value) { \
144
+ os::breakpoint (); \
145
+ } \
146
+ if (TraceBytecodes) { \
147
+ CALL_VM ((void )InterpreterRuntime::trace_bytecode (THREAD, 0 , \
148
+ topOfStack[Interpreter::expr_index_at (1 )], \
149
+ topOfStack[Interpreter::expr_index_at (2 )]), \
150
+ handle_exception); \
151
+ } \
152
+ } \
147
153
}
148
154
#endif
149
155
You can’t perform that action at this time.
0 commit comments