summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2021-02-15 18:41:30 +0000
committerArne Juul <arnej@verizonmedia.com>2021-02-15 18:41:30 +0000
commit4b39dbd34fdf4438a14921033b0d3995086248b6 (patch)
tree286ae1bdda2fd36771d54da163ff4a3615a73487 /vespalib
parent49c8de2bfa297c1d272b80c4785719f3497a3c1b (diff)
swap mismatched sizes
* surely 1KalignedHeapAllocator should use 1024, and 4KalignedHeapAllocator should use 4096, instead of the other way around
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/util/alloc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/vespalib/src/vespa/vespalib/util/alloc.cpp b/vespalib/src/vespa/vespalib/util/alloc.cpp
index 7dfdb005c7a..d86d35be4c7 100644
--- a/vespalib/src/vespa/vespalib/util/alloc.cpp
+++ b/vespalib/src/vespa/vespalib/util/alloc.cpp
@@ -233,9 +233,9 @@ createAutoAllocatorsWithDefault() {
AutoAllocatorsMapWithDefault _G_availableAutoAllocators = createAutoAllocatorsWithDefault();
alloc::HeapAllocator _G_heapAllocatorDefault;
-alloc::AlignedHeapAllocator _G_4KalignedHeapAllocator(1024);
-alloc::AlignedHeapAllocator _G_1KalignedHeapAllocator(4_Ki);
alloc::AlignedHeapAllocator _G_512BalignedHeapAllocator(512);
+alloc::AlignedHeapAllocator _G_1KalignedHeapAllocator(1_Ki);
+alloc::AlignedHeapAllocator _G_4KalignedHeapAllocator(4_Ki);
alloc::MMapAllocator _G_mmapAllocatorDefault;
MemoryAllocator &