Skip to content

Commit 252d5c1

Browse files
author
duke
committed
Automatic merge of jdk:master into master
2 parents 3d9f91d + c140773 commit 252d5c1

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/hotspot/cpu/zero/zeroInterpreter_zero.cpp

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -290,26 +290,6 @@ int ZeroInterpreter::native_entry(Method* method, intptr_t UNUSED, TRAPS) {
290290
interpreterState istate = frame->interpreter_state();
291291
intptr_t *locals = istate->locals();
292292

293-
#if 0
294-
// Update the invocation counter
295-
if ((UseCompiler || CountCompiledCalls) && !method->is_synchronized()) {
296-
MethodCounters* mcs = method->method_counters();
297-
if (mcs == NULL) {
298-
CALL_VM_NOCHECK(mcs = InterpreterRuntime::build_method_counters(thread, method));
299-
if (HAS_PENDING_EXCEPTION)
300-
goto unwind_and_return;
301-
}
302-
InvocationCounter *counter = mcs->invocation_counter();
303-
counter->increment();
304-
if (counter->reached_InvocationLimit(mcs->backedge_counter())) {
305-
CALL_VM_NOCHECK(
306-
InterpreterRuntime::frequency_counter_overflow(thread, NULL));
307-
if (HAS_PENDING_EXCEPTION)
308-
goto unwind_and_return;
309-
}
310-
}
311-
#endif
312-
313293
// Lock if necessary
314294
BasicObjectLock *monitor;
315295
monitor = NULL;

0 commit comments

Comments
 (0)