#include <zalloc.h>
Zone structures can be linked together to form one big happy chain. During allocation/free, only the first zone structure of the list is updated. The other zone structures are updated only during the garbage collecting phase, if any.
Data Fields | |
gchar ** | zn_free |
Pointer to first free block. | |
subzone * | zn_next |
Next allocated zone chunk, null if none. | |
gpointer | zn_arena |
Base address of zone arena. | |
gint | zn_refcnt |
How many references to that zone? | |
gint | zn_size |
Size of blocks in zone. | |
gint | zn_hint |
Hint size, for next zone extension. | |
gint | zn_cnt |
Amount of used blocks in zone. |
|
Base address of zone arena.
|
|
Amount of used blocks in zone.
|
|
Pointer to first free block.
|
|
Hint size, for next zone extension.
|
|
Next allocated zone chunk, null if none.
|
|
How many references to that zone?
|
|
Size of blocks in zone.
|