about summary refs log tree commit diff
path: root/src/rt/jemalloc/test/aligned_alloc.exp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-10-18 10:33:40 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-10-18 10:38:21 -0700
commit90911d72592fedbce0c34d8a0e20b5aac5c781bf (patch)
treef932ab2ed6ae0661b63316dcc289935efab24c59 /src/rt/jemalloc/test/aligned_alloc.exp
parenta1848bc755411285afb15f2453df7567e10ebc04 (diff)
downloadrust-90911d72592fedbce0c34d8a0e20b5aac5c781bf.tar.gz
rust-90911d72592fedbce0c34d8a0e20b5aac5c781bf.zip
Remove jemalloc from the runtime
As discovered in #9925, it turns out that we weren't using jemalloc on most
platforms. Additionally, on some platforms we were using it incorrectly and
mismatching the libc version of malloc with the jemalloc version of malloc.

Additionally, it's not clear that using jemalloc is indeed a large performance
win in particular situtations. This could be due to building jemalloc
incorrectly, or possibly due to using jemalloc incorrectly, but it is unclear at
this time.

Until jemalloc can be confirmed to integrate correctly on all platforms and has
verifiable large performance wins on platforms as well, it shouldn't be part of
the default build process. It should still be available for use via the
LD_PRELOAD trick on various architectures, but using it as the default allocator
for everything would require guaranteeing that it works in all situtations,
which it currently doesn't.

Closes #9925
Diffstat (limited to 'src/rt/jemalloc/test/aligned_alloc.exp')
-rw-r--r--src/rt/jemalloc/test/aligned_alloc.exp25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/rt/jemalloc/test/aligned_alloc.exp b/src/rt/jemalloc/test/aligned_alloc.exp
deleted file mode 100644
index b5061c7277e..00000000000
--- a/src/rt/jemalloc/test/aligned_alloc.exp
+++ /dev/null
@@ -1,25 +0,0 @@
-Test begin
-Alignment: 8
-Alignment: 16
-Alignment: 32
-Alignment: 64
-Alignment: 128
-Alignment: 256
-Alignment: 512
-Alignment: 1024
-Alignment: 2048
-Alignment: 4096
-Alignment: 8192
-Alignment: 16384
-Alignment: 32768
-Alignment: 65536
-Alignment: 131072
-Alignment: 262144
-Alignment: 524288
-Alignment: 1048576
-Alignment: 2097152
-Alignment: 4194304
-Alignment: 8388608
-Alignment: 16777216
-Alignment: 33554432
-Test end