|
memory_arena
|
Go to the source code of this file.
Macros | |
| #define | ARENA_ID_LEN 8 |
| Max characters for arena ID strings. | |
| #define | ARENA_MAX_ALIGNMENT 4096 |
| Max alignment value supported. | |
| #define | ARENA_MAX_ALLOWED_SIZE (1ULL << 32) |
| Upper bound for arena buffer size. | |
| #define | ARENA_MAX_STACK_DEPTH 16 |
| Max nested frame depth for arena_mark/pop. | |
| #define | ARENA_MIN_SHRINK_RATIO 0.95 |
| Shrink threshold: offset < ratio * size. | |
| #define | ARENA_SHRINK_PADDING 64 |
| Extra padding when computing shrink sizes. | |
| #define ARENA_ID_LEN 8 |
Max characters for arena ID strings.
Definition at line 6 of file arena_config_internal.h.
| #define ARENA_MAX_ALIGNMENT 4096 |
Max alignment value supported.
Definition at line 31 of file arena_config_internal.h.
| #define ARENA_MAX_ALLOWED_SIZE (1ULL << 32) |
Upper bound for arena buffer size.
Definition at line 26 of file arena_config_internal.h.
| #define ARENA_MAX_STACK_DEPTH 16 |
Max nested frame depth for arena_mark/pop.
Definition at line 11 of file arena_config_internal.h.
| #define ARENA_MIN_SHRINK_RATIO 0.95 |
Shrink threshold: offset < ratio * size.
Definition at line 16 of file arena_config_internal.h.
| #define ARENA_SHRINK_PADDING 64 |
Extra padding when computing shrink sizes.
Definition at line 21 of file arena_config_internal.h.