mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-20 22:29:16 +02:00
Use smaller datatype for ttl
This commit is contained in:
parent
556146ae8f
commit
227861cb2e
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ struct gc_heap_t {
|
||||||
/** Size of the heap page in bytes */
|
/** Size of the heap page in bytes */
|
||||||
unsigned int size;
|
unsigned int size;
|
||||||
/** Keep empty page alive this many times before freeing */
|
/** Keep empty page alive this many times before freeing */
|
||||||
unsigned int ttl;
|
unsigned char ttl;
|
||||||
/** Bump: Track remaining space; this is useful for bump&pop style allocation */
|
/** Bump: Track remaining space; this is useful for bump&pop style allocation */
|
||||||
unsigned int remaining;
|
unsigned int remaining;
|
||||||
/** For fixed-size heaps, only allocate blocks of this size */
|
/** For fixed-size heaps, only allocate blocks of this size */
|
||||||
|
|
Loading…
Add table
Reference in a new issue