Fix #6041
This commit is contained in:
Yukihiro "Matz" Matsumoto
2023-09-06 23:30:36 +09:00
parent 5eddccf89a
commit d708931b10
2 changed files with 64 additions and 21 deletions
+2 -1
View File
@@ -46,7 +46,8 @@ typedef enum {
#endif
typedef struct mrb_gc {
struct mrb_heap_page *heaps; /* heaps for GC */
struct mrb_heap_page *heaps; /* all heaps pages */
struct mrb_heap_page *free_heaps;/* heaps for allocation */
struct mrb_heap_page *sweeps; /* page where sweep starts */
struct RBasic *gray_list; /* list of gray objects to be traversed incrementally */
struct RBasic *atomic_gray_list; /* list of objects to be traversed atomically */