diff options
author | 2021-05-12 17:16:50 -0700 | |
---|---|---|
committer | 2022-06-17 17:11:33 +0000 | |
commit | 82b1bf2024591d6cd85e9ecd9ec704f67444e3c2 (patch) | |
tree | eef739e330eb439929ee2a5e5211b88fd0a14b30 /runtime/interpreter/interpreter_common.cc | |
parent | 1f10bc18546be8fa890406b4f59ed8f727e3dfac (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_common.cc')
-rw-r--r-- | runtime/interpreter/interpreter_common.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/interpreter/interpreter_common.cc b/runtime/interpreter/interpreter_common.cc index afba57eff2..4ee4cb5a9f 100644 --- a/runtime/interpreter/interpreter_common.cc +++ b/runtime/interpreter/interpreter_common.cc @@ -254,6 +254,7 @@ ALWAYS_INLINE void CopyRegisters(ShadowFrame& caller_frame, // END DECLARATIONS. +NO_STACK_PROTECTOR void ArtInterpreterToCompiledCodeBridge(Thread* self, ArtMethod* caller, ShadowFrame* shadow_frame, @@ -1410,6 +1411,7 @@ static inline bool DoCallCommon(ArtMethod* called_method, } template<bool is_range, bool do_assignability_check> +NO_STACK_PROTECTOR bool DoCall(ArtMethod* called_method, Thread* self, ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data, JValue* result) { // Argument word count. |