This website requires JavaScript.
Explore
Help
Register
Sign In
project-base
/
server-skynet-source-3rd-jemalloc
Watch
2
Star
0
Fork
0
You've already forked server-skynet-source-3rd-jemalloc
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
4d2e4bf5eb
server-skynet-source-3rd-je...
/
test
/
unit
/
decay.sh
4 lines
86 B
Bash
Raw
Normal View
History
Unescape
Escape
Use MALLOC_CONF rather than malloc_conf for tests. 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.
2017-02-22 15:40:06 +08:00
#!/bin/sh
Remove --disable-tcache. Simplify configuration by removing the --disable-tcache option, but replace the testing for that configuration with --with-malloc-conf=tcache:false. Fix the thread.arena and thread.tcache.flush mallctls to work correctly if tcache is disabled. This partially resolves #580.
2017-04-21 08:21:37 +08:00
export
MALLOC_CONF
=
"dirty_decay_time:1,muzzy_decay_time:1,lg_tcache_max:0"
Reference in New Issue
Copy Permalink