aboutsummaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-02-10 14:13:48 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-02-10 14:13:48 +0900
commit912ef0b5593a1e4edca3a0bad8164f66e05e6662 (patch)
treea79908d1f835feb405cf6fd35096458eea8abed7 /gc.c
parent6e6844320de989cb88a154e2ac75066ccea1bba2 (diff)
downloadruby-912ef0b5593a1e4edca3a0bad8164f66e05e6662.tar.gz
Revert "gc.c: make the stack overflow detection earlier under s390x"
This reverts commit a28c166f787710227c6aac54befd72778f041485. This change didn't help. According to odaira, the issue was fixed by increasing `ulimit -s`.
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gc.c b/gc.c
index e7dce9e7a2..f0de80ca71 100644
--- a/gc.c
+++ b/gc.c
@@ -4692,14 +4692,7 @@ stack_check(rb_execution_context_t *ec, int water_mark)
#define stack_check(ec, water_mark) FALSE
#endif
-#ifdef __s390x__
-/* Experimentally make the stack overflow detection earlier under s390x
- * https://rubyci.org/logs/rubyci.s3.amazonaws.com/rhel_zlinux/ruby-master/log/20200205T223421Z.fail.html.gz
- */
-#define STACKFRAME_FOR_CALL_CFUNC 8192
-#else
#define STACKFRAME_FOR_CALL_CFUNC 2048
-#endif
MJIT_FUNC_EXPORTED int
rb_ec_stack_check(rb_execution_context_t *ec)