Change MAJOR_GC_INC_RATIO to 120; ref #3998

Because 200% is consumes too much memory for some cases.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2018-04-14 06:13:00 +09:00
parent fc85016a32
commit 3b273243e6
+1 -1
View File
@@ -344,7 +344,7 @@ add_heap(mrb_state *mrb, mrb_gc *gc)
#define DEFAULT_GC_INTERVAL_RATIO 200
#define DEFAULT_GC_STEP_RATIO 200
#define MAJOR_GC_INC_RATIO 200
#define MAJOR_GC_INC_RATIO 120
#define is_generational(gc) ((gc)->generational)
#define is_major_gc(gc) (is_generational(gc) && (gc)->full)
#define is_minor_gc(gc) (is_generational(gc) && !(gc)->full)