Skip to content

Commit 9874f20

Browse files
committed
Enable additional MALLOC_CONF options on CI
On top of the production configuration, this commit adds two options: * `abort:true` - most jemalloc warnings become fatal ([opt.abort]) * `junk:true` - both allocated and deallocated memory will be initialized to 0xa5. ([opt.junk]) Combined with the existing `abort_conf:true`, this should be equivalent to enabling the `debug` feature of `jemallocator`. We cannot enable this feature in `Cargo.toml` because that would affect performance in production. [opt.abort]: http://jemalloc.net/jemalloc.3.html#opt.abort [opt.junk]: http://jemalloc.net/jemalloc.3.html#opt.junk
1 parent edd64d0 commit 9874f20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ env:
2828
- PGPORT=5433
2929
- PATH=$HOME/.cargo/bin:$PATH
3030
- RUSTFLAGS="-C debuginfo=0 -D warnings"
31-
- MALLOC_CONF=background_thread:true,abort_conf:true
31+
- MALLOC_CONF=background_thread:true,abort_conf:true,abort:true,junk:true
3232

3333
install:
3434
- sudo cp /etc/postgresql/10/main/pg_hba.conf /etc/postgresql/11/main/pg_hba.conf

0 commit comments

Comments
 (0)