From 1da2e7fca35dc697d85dd91d2572ab58d08cd3bc Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Tue, 4 Apr 2023 17:30:06 -0400 Subject: [Feature #19579] Remove !USE_RVARGC code (#7655) Remove !USE_RVARGC code [Feature #19579] The Variable Width Allocation feature was turned on by default in Ruby 3.2. Since then, we haven't received bug reports or backports to the non-Variable Width Allocation code paths, so we assume that nobody is using it. We also don't plan on maintaining the non-Variable Width Allocation code, so we are going to remove it. --- internal/gc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/gc.h') diff --git a/internal/gc.h b/internal/gc.h index 2b67ca40dc..cfc0f07ce3 100644 --- a/internal/gc.h +++ b/internal/gc.h @@ -190,7 +190,7 @@ struct rb_objspace; /* in vm_core.h */ // We use SIZE_POOL_COUNT number of shape IDs for transitions out of different size pools // The next available shape ID will be the SPECIAL_CONST_SHAPE_ID #ifndef SIZE_POOL_COUNT -# if USE_RVARGC && (SIZEOF_UINT64_T == SIZEOF_VALUE) +# if (SIZEOF_UINT64_T == SIZEOF_VALUE) # define SIZE_POOL_COUNT 5 # else # define SIZE_POOL_COUNT 1 -- cgit v1.2.3