mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
gc.h: rename majorgc_old_threashold to oldgen_threashold
This field means that if you have more old generation objects than this value, major GC mode will be turned on.
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ typedef struct mrb_gc {
|
||||
mrb_bool full :1;
|
||||
mrb_bool generational :1;
|
||||
mrb_bool out_of_memory :1;
|
||||
size_t majorgc_old_threshold;
|
||||
size_t oldgen_threshold;
|
||||
} mrb_gc;
|
||||
|
||||
MRB_API mrb_bool mrb_object_dead_p(struct mrb_state *mrb, struct RBasic *object);
|
||||
|
||||
Reference in New Issue
Block a user