Revert "Remove stack protector from some interpreter functions"
A performance regression was noticed in go/lem banchmarks for ART. This
is likely caused by the no_stack_protector attribute preventing inlining
into hot functions.
Reason for revert: performance regression
Reverted Changes:
Ie0c81f97f:Remove stack protector from some interpreter funct...
Iaf565a374:Reset stack guard after fork from Zygote
Bug: 168258494
Change-Id: I018d58759c3a5bb624ea8e7fe09b6b49c9b19b6a
diff --git a/runtime/obj_ptr.h b/runtime/obj_ptr.h
index c4d2a5a..a03b67b 100644
--- a/runtime/obj_ptr.h
+++ b/runtime/obj_ptr.h
@@ -25,7 +25,7 @@
#include "runtime_globals.h"
// Always inline ObjPtr methods even in debug builds.
-#define OBJPTR_INLINE __attribute__ ((always_inline, no_stack_protector))
+#define OBJPTR_INLINE __attribute__ ((always_inline))
namespace art {