Allocate at least gencgc_alloc_granularity bytes at a time, if possible
authorPaul Khuong <pvk@pvk.ca>
Sun, 3 Jul 2011 16:45:42 +0000 (12:45 -0400)
committerPaul Khuong <pvk@pvk.ca>
Sun, 3 Jul 2011 16:45:42 +0000 (12:45 -0400)
commite8571be6d533b80768bdae4e3e15316e4faa22fa
treed7d0fd8c8e6fb5b7541d702b91af9172e9cfa5cb
parent87cce4bfe714163f5ab7d211f439db567c7278d1
Allocate at least gencgc_alloc_granularity bytes at a time, if possible

 * While we have large cards, it doesn't really matter, but tuning that
   might help some applications that cons a lot of medium-sized objects.

 * Defaults to GENCGC_ALLOC_GRANULARITY, and should always be a multiple
   of GENCGC_CARD_BYTES.

 * GENCGC_ALLOC_GRANULARITY defaults to BACKEND_PAGE_BYTES, so this patch
   is a no-op.
src/runtime/gencgc.c