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

Side by Side Diff: base/allocator/allocator.gyp

Issue 7671034: doubly-linked free-lists for thread caches and page heaps (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: move size implementation Created 9 years, 3 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
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'jemalloc_dir': '../../third_party/jemalloc/chromium', 7 'jemalloc_dir': '../../third_party/jemalloc/chromium',
8 'tcmalloc_dir': '../../third_party/tcmalloc/chromium', 8 'tcmalloc_dir': '../../third_party/tcmalloc/chromium',
9 }, 9 },
10 'targets': [ 10 'targets': [
11 { 11 {
12 'target_name': 'allocator', 12 'target_name': 'allocator',
13 'type': 'static_library', 13 'type': 'static_library',
14 'include_dirs': [ 14 'include_dirs': [
15 '.', 15 '.',
16 '<(tcmalloc_dir)/src/base', 16 '<(tcmalloc_dir)/src/base',
17 '<(tcmalloc_dir)/src', 17 '<(tcmalloc_dir)/src',
18 '../..', 18 '../..',
19 ], 19 ],
20 'defines': ['TCMALLOC_USE_DOUBLYLINKED_FREELIST',],
20 'direct_dependent_settings': { 21 'direct_dependent_settings': {
21 'configurations': { 22 'configurations': {
22 'Common_Base': { 23 'Common_Base': {
23 'msvs_settings': { 24 'msvs_settings': {
24 'VCLinkerTool': { 25 'VCLinkerTool': {
25 'IgnoreDefaultLibraryNames': ['libcmtd.lib', 'libcmt.lib'], 26 'IgnoreDefaultLibraryNames': ['libcmtd.lib', 'libcmt.lib'],
26 'AdditionalDependencies': [ 27 'AdditionalDependencies': [
27 '<(SHARED_INTERMEDIATE_DIR)/allocator/libcmt.lib' 28 '<(SHARED_INTERMEDIATE_DIR)/allocator/libcmt.lib'
28 ], 29 ],
29 }, 30 },
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 '<(tcmalloc_dir)/src/base/thread_annotations.h', 88 '<(tcmalloc_dir)/src/base/thread_annotations.h',
88 '<(tcmalloc_dir)/src/base/thread_lister.c', 89 '<(tcmalloc_dir)/src/base/thread_lister.c',
89 '<(tcmalloc_dir)/src/base/thread_lister.h', 90 '<(tcmalloc_dir)/src/base/thread_lister.h',
90 '<(tcmalloc_dir)/src/base/vdso_support.cc', 91 '<(tcmalloc_dir)/src/base/vdso_support.cc',
91 '<(tcmalloc_dir)/src/base/vdso_support.h', 92 '<(tcmalloc_dir)/src/base/vdso_support.h',
92 '<(tcmalloc_dir)/src/central_freelist.cc', 93 '<(tcmalloc_dir)/src/central_freelist.cc',
93 '<(tcmalloc_dir)/src/central_freelist.h', 94 '<(tcmalloc_dir)/src/central_freelist.h',
94 '<(tcmalloc_dir)/src/common.cc', 95 '<(tcmalloc_dir)/src/common.cc',
95 '<(tcmalloc_dir)/src/common.h', 96 '<(tcmalloc_dir)/src/common.h',
96 '<(tcmalloc_dir)/src/debugallocation.cc', 97 '<(tcmalloc_dir)/src/debugallocation.cc',
98 '<(tcmalloc_dir)/src/free_list.cc',
99 '<(tcmalloc_dir)/src/free_list.h',
97 '<(tcmalloc_dir)/src/getpc.h', 100 '<(tcmalloc_dir)/src/getpc.h',
98 '<(tcmalloc_dir)/src/google/heap-checker.h', 101 '<(tcmalloc_dir)/src/google/heap-checker.h',
99 '<(tcmalloc_dir)/src/google/heap-profiler.h', 102 '<(tcmalloc_dir)/src/google/heap-profiler.h',
100 '<(tcmalloc_dir)/src/google/malloc_extension.h', 103 '<(tcmalloc_dir)/src/google/malloc_extension.h',
101 '<(tcmalloc_dir)/src/google/malloc_extension_c.h', 104 '<(tcmalloc_dir)/src/google/malloc_extension_c.h',
102 '<(tcmalloc_dir)/src/google/malloc_hook.h', 105 '<(tcmalloc_dir)/src/google/malloc_hook.h',
103 '<(tcmalloc_dir)/src/google/malloc_hook_c.h', 106 '<(tcmalloc_dir)/src/google/malloc_hook_c.h',
104 '<(tcmalloc_dir)/src/google/profiler.h', 107 '<(tcmalloc_dir)/src/google/profiler.h',
105 '<(tcmalloc_dir)/src/google/stacktrace.h', 108 '<(tcmalloc_dir)/src/google/stacktrace.h',
106 '<(tcmalloc_dir)/src/google/tcmalloc.h', 109 '<(tcmalloc_dir)/src/google/tcmalloc.h',
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 '$(VCInstallDir)lib', 433 '$(VCInstallDir)lib',
431 '<(SHARED_INTERMEDIATE_DIR)/allocator', 434 '<(SHARED_INTERMEDIATE_DIR)/allocator',
432 ], 435 ],
433 }, 436 },
434 ], 437 ],
435 }, 438 },
436 ], 439 ],
437 }], 440 }],
438 ], 441 ],
439 } 442 }
OLDNEW
« no previous file with comments | « no previous file | third_party/tcmalloc/chromium/src/central_freelist.cc » ('j') | third_party/tcmalloc/chromium/src/free_list.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698