comparison src/cpu/zero/vm/cppInterpreter_zero.cpp @ 14420:abe03600372a

8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling Summary: Implement profiling for c2 jit compilation. Also enable new cppInterpreter features. Reviewed-by: kvn
author goetz
date Sun, 15 Sep 2013 15:28:58 +0200
parents e16282db4946
children 2b8e28fdf503
comparison
equal deleted inserted replaced
14419:7373e44fa207 14420:abe03600372a
218 if (HAS_PENDING_EXCEPTION) 218 if (HAS_PENDING_EXCEPTION)
219 goto unwind_and_return; 219 goto unwind_and_return;
220 } 220 }
221 InvocationCounter *counter = mcs->invocation_counter(); 221 InvocationCounter *counter = mcs->invocation_counter();
222 counter->increment(); 222 counter->increment();
223 if (counter->reached_InvocationLimit()) { 223 if (counter->reached_InvocationLimit(mcs->backedge_counter())) {
224 CALL_VM_NOCHECK( 224 CALL_VM_NOCHECK(
225 InterpreterRuntime::frequency_counter_overflow(thread, NULL)); 225 InterpreterRuntime::frequency_counter_overflow(thread, NULL));
226 if (HAS_PENDING_EXCEPTION) 226 if (HAS_PENDING_EXCEPTION)
227 goto unwind_and_return; 227 goto unwind_and_return;
228 } 228 }