[前][次][番号順一覧][スレッド一覧]

ruby-changes:59987

From: Yusuke <ko1@a...>
Date: Mon, 10 Feb 2020 14:14:57 +0900 (JST)
Subject: [ruby-changes:59987] 912ef0b559 (master): Revert "gc.c: make the stack overflow detection earlier under s390x"

https://git.ruby-lang.org/ruby.git/commit/?id=912ef0b559

From 912ef0b5593a1e4edca3a0bad8164f66e05e6662 Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Mon, 10 Feb 2020 14:13:48 +0900
Subject: 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`.

diff --git a/gc.c b/gc.c
index e7dce9e..f0de80c 100644
--- a/gc.c
+++ b/gc.c
@@ -4692,14 +4692,7 @@ stack_check(rb_execution_context_t *ec, int water_mark) https://github.com/ruby/ruby/blob/trunk/gc.c#L4692
 #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)
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]