summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.co.uk>2017-11-15 16:52:44 +0530
committerDennis Francis <dennis.francis@collabora.co.uk>2017-11-21 13:49:53 +0530
commitb473824819a6726d0a2438699984a2a6010e55b7 (patch)
tree98a722bee7e85ecc2ad0741f63eae2495016f335 /sal
parent6d4c635bb68798aad8de70fae33b979d78315366 (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.cxx2
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[] =