diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2016-10-02 19:59:41 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2016-10-03 16:52:36 +0000 |
commit | 6a0ea2d5fce1967927cf1f4f319fb0209ac2eb1e (patch) | |
tree | cdf844359ac298e85d5ffc4e15f467964a8c7593 /vespalib/src/tests/alloc/allocate_and_core.cpp | |
parent | 74d9d289d9b9ffd5f9f427a1fb7abf176bae4abe (diff) |
Checkpoint 1
Diffstat (limited to 'vespalib/src/tests/alloc/allocate_and_core.cpp')
-rw-r--r-- | vespalib/src/tests/alloc/allocate_and_core.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vespalib/src/tests/alloc/allocate_and_core.cpp b/vespalib/src/tests/alloc/allocate_and_core.cpp index 2cb4d447fd1..f0a0669eb42 100644 --- a/vespalib/src/tests/alloc/allocate_and_core.cpp +++ b/vespalib/src/tests/alloc/allocate_and_core.cpp @@ -1,14 +1,14 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/vespalib/util/alloc.h> -using namespace vespalib; +using namespace vespalib::alloc; int main(int argc, char *argv[]) { (void) argc; (void) argv; - MMapAlloc small( 0x400000); //4M + Alloc small(MMapAllocFactory::create(0x400000)); //4M memset(small.get(), 0x55, small.size()); - MMapAlloc large(0x4000000); //640M + Alloc large(MMapAllocFactory::create(0x4000000)); //640M memset(large.get(), 0x66, large.size()); assert(false); } |