diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2024-07-12 09:49:08 -0400 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2024-07-15 11:28:00 -0400 |
| commit | 2245f278d3f4be1644c599218d2d4f73051cc6d8 (patch) | |
| tree | dd45e2c491743c7f9e6703e719c3c4ea34036004 | |
| parent | ec773e15f472ae2fe655529ea646d8fb2a4f0919 (diff) | |
Remove unused ruby_initial_gc_stress
| -rw-r--r-- | gc/default.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gc/default.c b/gc/default.c index dfd81ab148..28f3e1248f 100644 --- a/gc/default.c +++ b/gc/default.c @@ -180,8 +180,6 @@ typedef struct { size_t oldmalloc_limit_min; size_t oldmalloc_limit_max; double oldmalloc_limit_growth_factor; - - VALUE gc_stress; } ruby_gc_params_t; static ruby_gc_params_t gc_params = { @@ -203,8 +201,6 @@ static ruby_gc_params_t gc_params = { GC_OLDMALLOC_LIMIT_MIN, GC_OLDMALLOC_LIMIT_MAX, GC_OLDMALLOC_LIMIT_GROWTH_FACTOR, - - FALSE, }; /* GC_DEBUG: @@ -835,10 +831,6 @@ RVALUE_AGE_SET(VALUE obj, int age) } } -#define ruby_initial_gc_stress gc_params.gc_stress - -VALUE *ruby_initial_gc_stress_ptr = &ruby_initial_gc_stress; - #define malloc_limit objspace->malloc_params.limit #define malloc_increase objspace->malloc_params.increase #define malloc_allocated_size objspace->malloc_params.allocated_size |
