Functions for allocing fixed-size blocks in internal allocator.
commitb3e4c83c91cc37f374dbd8727c9406ec4a65321e
authorMark Probst <mark.probst@gmail.com>
Thu, 22 Jul 2010 19:53:41 +0000 (22 21:53 +0200)
committerMark Probst <mark.probst@gmail.com>
Sat, 24 Jul 2010 21:15:08 +0000 (24 23:15 +0200)
tree986bb7b246b1d5fa778f1bd63529ee2062f1a2ed
parentde95666b9d9a7a0bf2f45770e01f1463ffa532ea
Functions for allocing fixed-size blocks in internal allocator.

2010-07-24  Mark Probst  <mark.probst@gmail.com>

* sgen-internal.c, sgen-gc.c, sgen-gc.h, sgen-gray.c,
sgen-major-copying.c, sgen-marksweep.c, sgen-pinning-stats.c,
sgen-pinning.c: Allocate fixed-size structs without specifying the
size, instead registering it once with its type.
Dynamically-sized need their size specified when being freed.
mono/metadata/ChangeLog
mono/metadata/sgen-gc.c
mono/metadata/sgen-gc.h
mono/metadata/sgen-gray.c
mono/metadata/sgen-internal.c
mono/metadata/sgen-major-copying.c
mono/metadata/sgen-marksweep.c
mono/metadata/sgen-pinning-stats.c
mono/metadata/sgen-pinning.c