Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: third_party/android_debug_dlmalloc/chromium/dlmalloc.h

Issue 16514009: Add dlmalloc from Bionic to the Chromium tree (DO NOT REVIEW). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /*
2 * Copyright (C) 2012 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 #ifndef DLMALLOC_H_
18 #define DLMALLOC_H_
19
20 /* Configure dlmalloc. */
21 #define HAVE_GETPAGESIZE 1
22 #define HAVE_MMAP 1
23 #define HAVE_MORECORE 0 // Don't use sbrk().
24 #define MALLOC_INSPECT_ALL 1
25 #define MSPACES 0
26 #define REALLOC_ZERO_BYTES_FREES 1
27 #define USE_LOCKS 1
28 #define LOCK_AT_FORK 1
29 #define USE_RECURSIVE_LOCK 0
30 #define USE_SPIN_LOCKS 0
31
32 /* Include the proper definitions. */
33 #include "malloc.h"
34
35 #endif // DLMALLOC_H_
OLDNEW
« no previous file with comments | « third_party/android_debug_dlmalloc/chromium/README.txt ('k') | third_party/android_debug_dlmalloc/chromium/dlmalloc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698