mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 14:41:42 +03:00
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.
3 lines
59 B
Bash
3 lines
59 B
Bash
#!/bin/sh
|
|
|
|
export MALLOC_CONF="prof:true,lg_prof_sample:0"
|