mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8013067: Zero builds are broken after 8010862
Fixed broken Zero build. Reviewed-by: twisti, coleenp, kvn
This commit is contained in:
parent
a4ca5b8a49
commit
ba80b3e045
3 changed files with 24 additions and 22 deletions
|
@ -212,7 +212,13 @@ int CppInterpreter::native_entry(Method* method, intptr_t UNUSED, TRAPS) {
|
|||
|
||||
// Update the invocation counter
|
||||
if ((UseCompiler || CountCompiledCalls) && !method->is_synchronized()) {
|
||||
InvocationCounter *counter = method->invocation_counter();
|
||||
MethodCounters* mcs = method->method_counters();
|
||||
if (mcs == NULL) {
|
||||
CALL_VM_NOCHECK(mcs = InterpreterRuntime::build_method_counters(thread, method));
|
||||
if (HAS_PENDING_EXCEPTION)
|
||||
goto unwind_and_return;
|
||||
}
|
||||
InvocationCounter *counter = mcs->invocation_counter();
|
||||
counter->increment();
|
||||
if (counter->reached_InvocationLimit()) {
|
||||
CALL_VM_NOCHECK(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue