summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter.cc
diff options
context:
space:
mode:
author Chris Wailes <chriswailes@google.com> 2021-05-12 17:16:50 -0700
committer Chris Wailes <chriswailes@google.com> 2022-06-17 17:11:33 +0000
commit82b1bf2024591d6cd85e9ecd9ec704f67444e3c2 (patch)
treeeef739e330eb439929ee2a5e5211b88fd0a14b30 /runtime/interpreter/interpreter.cc
parent1f10bc18546be8fa890406b4f59ed8f727e3dfac (diff)
Remove stack protector from some interpreter functions
This CL removes stack protection from several functions in the interpreter to allow us to re-set the stack protector cookie when new processes fork from any of the zygotes. Test: boot Bug: 168258494 Change-Id: Id65d0d96b028599f27f74c25e279a03b85e52651
Diffstat (limited to 'runtime/interpreter/interpreter.cc')
-rw-r--r--runtime/interpreter/interpreter.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/interpreter/interpreter.cc b/runtime/interpreter/interpreter.cc
index ffe1dc0426..8ceade8f07 100644
--- a/runtime/interpreter/interpreter.cc
+++ b/runtime/interpreter/interpreter.cc
@@ -255,6 +255,7 @@ static JValue ExecuteSwitch(Thread* self,
}
}
+NO_STACK_PROTECTOR
static inline JValue Execute(
Thread* self,
const CodeItemDataAccessor& accessor,
@@ -570,6 +571,7 @@ void EnterInterpreterFromDeoptimize(Thread* self,
ret_val->SetJ(value.GetJ());
}
+NO_STACK_PROTECTOR
JValue EnterInterpreterFromEntryPoint(Thread* self, const CodeItemDataAccessor& accessor,
ShadowFrame* shadow_frame) {
DCHECK_EQ(self, Thread::Current());
@@ -586,6 +588,7 @@ JValue EnterInterpreterFromEntryPoint(Thread* self, const CodeItemDataAccessor&
return Execute(self, accessor, *shadow_frame, JValue());
}
+NO_STACK_PROTECTOR
void ArtInterpreterToInterpreterBridge(Thread* self,
const CodeItemDataAccessor& accessor,
ShadowFrame* shadow_frame,