зеркало из https://github.com/github/ruby.git
Fix compilation error when USE_RVARGC=0
force_major_gc_count was not defined when USE_RVARGC=0.
This commit is contained in:
Родитель
fafe68185c
Коммит
d1b6c8a1cc
4
gc.c
4
gc.c
|
@ -690,14 +690,12 @@ typedef struct rb_size_pool_struct {
|
|||
/* Basic statistics */
|
||||
size_t total_allocated_pages;
|
||||
size_t total_freed_pages;
|
||||
size_t force_major_gc_count;
|
||||
|
||||
#if USE_RVARGC
|
||||
/* Sweeping statistics */
|
||||
size_t freed_slots;
|
||||
size_t empty_slots;
|
||||
|
||||
/* Global statistics */
|
||||
size_t force_major_gc_count;
|
||||
#endif
|
||||
|
||||
rb_heap_t eden_heap;
|
||||
|
|
Загрузка…
Ссылка в новой задаче