changeset 5802:d8a079873393

8194859: Bad backport of 8024468 breaks Zero build due to lack of 8010862 in OpenJDK 7 Summary: Use method to access the backedge counter, rather than the undefined MethodCounters mcs. Reviewed-by: aph
author andrew
date Fri, 12 Jan 2018 16:53:46 +0000
parents b84d5a3bd874
children 85455f630351
files src/cpu/zero/vm/cppInterpreter_zero.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/zero/vm/cppInterpreter_zero.cpp	Thu Nov 30 02:51:54 2017 +0000
+++ b/src/cpu/zero/vm/cppInterpreter_zero.cpp	Fri Jan 12 16:53:46 2018 +0000
@@ -250,7 +250,7 @@
   if ((UseCompiler || CountCompiledCalls) && !method->is_synchronized()) {
     InvocationCounter *counter = method->invocation_counter();
     counter->increment();
-    if (counter->reached_InvocationLimit(mcs->backedge_counter())) {
+    if (counter->reached_InvocationLimit(method->backedge_counter())) {
       CALL_VM_NOCHECK(
         InterpreterRuntime::frequency_counter_overflow(thread, NULL));
       if (HAS_PENDING_EXCEPTION)