mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Revert "gc.c: make the stack overflow detection earlier under s390x"
This reverts commit a28c166f78
.
This change didn't help.
According to odaira, the issue was fixed by increasing `ulimit -s`.
This commit is contained in:
parent
6e6844320d
commit
912ef0b559
1 changed files with 0 additions and 7 deletions
7
gc.c
7
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)
|
||||
|
|
Loading…
Reference in a new issue