| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
The global data is mostly only used at initialization, or for easy access to
values we could compute statically. Instead of consuming that space (and
risking TLB misses), we can just pass around a pointer to stack data during
bootstrapping.
|
| |
|
|
|
|
| |
The largest small class, smallest large class, and largest large class may all
be needed down fast paths; to avoid the risk of touching another cache line, we
can make them available as constants.
|
| |
|
|
|
|
|
|
|
| |
This class removes almost all the dependencies on size_classes.h, accessing the
data there only via the new module sc.h, which does not depend on any
configuration options.
In a subsequent commit, we'll remove the configure-time size class computations,
doing them at boot time, instead.
|
| |
|
|
|
|
|
|
|
| |
malloc_conf does not reliably work with MSVC, which complains of
"inconsistent dll linkage", i.e. its inability to support the
application overriding malloc_conf when dynamically linking/loading.
Work around this limitation by adding test harness support for per test
shell script sourcing, and converting all tests to use MALLOC_CONF
instead of malloc_conf.
|
| |
|
|
| |
This resolves #564.
|
| |
|
|
| |
This resolves #540.
|
| |
|
|
|
|
|
| |
Add braces around single-line blocks, and remove line breaks before
function-opening braces.
This resolves #537.
|
| |
|
|
| |
This resolves #535.
|
| |
|
|
|
|
|
|
| |
Remove mallctls:
- opt.lg_chunk
- stats.cactive
This resolves #464.
|
| | |
|
| | |
|
| |
|
|
| |
This resolves #369.
|
| | |
|
| |
|
|
| |
Consistently use uint8_t rather than char for junk filling code.
|
| |
|
|
|
| |
arena_maxclass is no longer an appropriate name, because arenas also
manage huge allocations.
|
| | |
|
|
|
Fix growing large reallocation to junk fill new space.
Fix huge deallocation to junk fill when munmap is disabled.
|