Workaround x86 interpretter stack overflow
Bug: 14982147
Change-Id: I5fa5c30dbac7e50dd6dd7c8d12bbc769c0dfc150
diff --git a/runtime/thread.h b/runtime/thread.h
index 1bbe617..83f7b8e 100644
--- a/runtime/thread.h
+++ b/runtime/thread.h
@@ -103,6 +103,11 @@
// Worst-case, we would need about 2.6x the amount of x86_64 for many more registers.
// But this one works rather well.
static constexpr size_t kStackOverflowReservedBytes = 32 * KB;
+#elif defined(__i386__)
+ // TODO: Bumped to workaround regression (http://b/14982147) Specifically to fix:
+ // test-art-host-run-test-interpreter-018-stack-overflow
+ // test-art-host-run-test-interpreter-107-int-math2
+ static constexpr size_t kStackOverflowReservedBytes = 24 * KB;
#else
static constexpr size_t kStackOverflowReservedBytes = 16 * KB;
#endif