summaryrefslogtreecommitdiff
path: root/internal/gc.h
diff options
context:
space:
mode:
-rw-r--r--internal/gc.h5
1 files changed, 4 insertions, 1 deletions
@@ -14,6 +14,7 @@
#include "internal/compilers.h" /* for __has_attribute */
#include "ruby/ruby.h" /* for rb_event_flag_t */
struct rb_execution_context_struct; /* in vm_core.h */
struct rb_objspace; /* in vm_core.h */
@@ -67,12 +68,14 @@ struct rb_objspace; /* in vm_core.h */
rb_obj_write((VALUE)(a), UNALIGNED_MEMBER_ACCESS((VALUE *)(slot)), \
(VALUE)(b), __FILE__, __LINE__)
-#if USE_RVARGC
# define SIZE_POOL_COUNT 5
#else
# define SIZE_POOL_COUNT 1
#endif
typedef struct ractor_newobj_size_pool_cache {
struct RVALUE *freelist;
struct heap_page *using_page;