mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 12:14:51 +00:00
Increase default stack sizes for LSAN
This commit is contained in:
parent
9f7ef20de1
commit
75f5a0bae9
Notes:
git
2025-11-12 23:45:01 +00:00
@ -844,7 +844,7 @@ extern bool ruby_vm_during_cleanup;
|
||||
#define RUBY_VM_FIBER_MACHINE_STACK_SIZE_MIN ( 16 * 1024 * sizeof(VALUE)) /* 64 KB or 128 KB */
|
||||
#endif
|
||||
|
||||
#if __has_feature(memory_sanitizer) || __has_feature(address_sanitizer)
|
||||
#if __has_feature(memory_sanitizer) || __has_feature(address_sanitizer) || __has_feature(leak_sanitizer)
|
||||
/* It seems sanitizers consume A LOT of machine stacks */
|
||||
#undef RUBY_VM_THREAD_MACHINE_STACK_SIZE
|
||||
#define RUBY_VM_THREAD_MACHINE_STACK_SIZE (1024 * 1024 * sizeof(VALUE))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user