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
56126d0d2d
server-skynet-source-3rd-je...
/
test
/
unit
/
decay.sh
4 lines
88 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
Refactor *decay_time into *decay_ms. Support millisecond resolution for decay times. Among other use cases this makes it possible to specify a short initial dirty-->muzzy decay phase, followed by a longer muzzy-->clean decay phase. This resolves #812.
2017-05-18 01:47:00 +08:00
export
MALLOC_CONF
=
"dirty_decay_ms:1000,muzzy_decay_ms:1000,lg_tcache_max:0"
Reference in New Issue
Copy Permalink