X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fsgen%2Fsgen-conf.h;h=5a0e871e22fecc779083f53fea42bc4945f6849a;hb=7ac23bc974fa7f4db71fa7885ac78463ac5e2fb8;hp=368ec5a6d3be6fed582712f113fe1289b69755a6;hpb=b16bcb6332458610a13bb749b277f042ade32de2;p=mono.git diff --git a/mono/sgen/sgen-conf.h b/mono/sgen/sgen-conf.h index 368ec5a6d3b..5a0e871e22f 100644 --- a/mono/sgen/sgen-conf.h +++ b/mono/sgen/sgen-conf.h @@ -185,6 +185,17 @@ typedef mword SgenDescriptor; #define SGEN_MIN_ALLOWANCE_NURSERY_SIZE_RATIO 1.0 #define SGEN_MAX_ALLOWANCE_NURSERY_SIZE_RATIO 10.0 +/* + * How much more we allow the heap to grow before triggering another major collection + */ +#define SGEN_DEFAULT_ALLOWANCE_HEAP_SIZE_RATIO 0.33 + +/* + * How much more we allow the heap to grow, relative to the allowance, while doing + * a concurrent collection, before forcing its finish. + */ +#define SGEN_DEFAULT_CONCURRENT_HEAP_ALLOWANCE_RATIO 0.25 + /* * Default ratio of memory we want to release in a major collection in relation to the the current heap size. *