diff options
author | Dennis Francis <dennis.francis@collabora.co.uk> | 2017-11-15 16:52:44 +0530 |
---|---|---|
committer | Dennis Francis <dennis.francis@collabora.co.uk> | 2017-11-21 16:09:43 +0530 |
commit | bc6a5d8e79e7d0e7d75ac107aa8e6aa275e434e9 (patch) | |
tree | 92c01748e1447d8c0f3e6c91d04656eb241e02df /sal | |
parent | 4defacd1fa2be800f3e7258abbb4ef2cd1834d31 (diff) |
Disable custom allocator
This has big positive effect on software interpreter threading
performance scaling.
Change-Id: I8fbb6bf8f7ed410fd53278acee63bf65f13bac38
Diffstat (limited to 'sal')
-rw-r--r-- | sal/rtl/alloc_global.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/alloc_global.cxx b/sal/rtl/alloc_global.cxx index 3d74287bc7e5..47643f3ea74a 100644 --- a/sal/rtl/alloc_global.cxx +++ b/sal/rtl/alloc_global.cxx @@ -35,7 +35,7 @@ AllocMode alloc_mode = AllocMode::UNSET; static void determine_alloc_mode() { assert(alloc_mode == AllocMode::UNSET); - alloc_mode = (getenv("G_SLICE") == nullptr ? AllocMode::CUSTOM : AllocMode::SYSTEM); + alloc_mode = AllocMode::SYSTEM; } static const sal_Size g_alloc_sizes[] = |