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

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

Issue 1715903002: Adapt upstream patches fixing potential deadlock in tcmalloc after fork. Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Updated README Created 4 years, 10 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
« no previous file with comments | « base/allocator/BUILD.gn ('k') | third_party/tcmalloc/README.chromium » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'target_defaults': { 6 'target_defaults': {
7 'variables': { 7 'variables': {
8 # This code gets run a lot and debugged rarely, so it should be fast 8 # This code gets run a lot and debugged rarely, so it should be fast
9 # by default. See http://crbug.com/388949. 9 # by default. See http://crbug.com/388949.
10 'debug_optimize': '2', 10 'debug_optimize': '2',
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 '<(tcmalloc_dir)/src/profile-handler.h', 338 '<(tcmalloc_dir)/src/profile-handler.h',
339 '<(tcmalloc_dir)/src/profiledata.cc', 339 '<(tcmalloc_dir)/src/profiledata.cc',
340 '<(tcmalloc_dir)/src/profiledata.h', 340 '<(tcmalloc_dir)/src/profiledata.h',
341 '<(tcmalloc_dir)/src/profiler.cc', 341 '<(tcmalloc_dir)/src/profiler.cc',
342 ], 342 ],
343 }], 343 }],
344 ['use_experimental_allocator_shim==1', { 344 ['use_experimental_allocator_shim==1', {
345 'defines': [ 345 'defines': [
346 'TCMALLOC_DONT_REPLACE_SYSTEM_ALLOC', 346 'TCMALLOC_DONT_REPLACE_SYSTEM_ALLOC',
347 ], 347 ],
348 }] 348 }],
349 ['OS=="linux"', {
350 'defines': [
351 'HAVE_FORK',
352 ],
353 }],
349 ], 354 ],
350 'configurations': { 355 'configurations': {
351 'Debug_Base': { 356 'Debug_Base': {
352 'conditions': [ 357 'conditions': [
353 ['disable_debugallocation==0', { 358 ['disable_debugallocation==0', {
354 'defines': [ 359 'defines': [
355 # Use debugallocation for Debug builds to catch problems 360 # Use debugallocation for Debug builds to catch problems
356 # early and cleanly, http://crbug.com/30715 . 361 # early and cleanly, http://crbug.com/30715 .
357 'TCMALLOC_FOR_DEBUGALLOCATION', 362 'TCMALLOC_FOR_DEBUGALLOCATION',
358 ], 363 ],
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 '<(SHARED_INTERMEDIATE_DIR)/allocator', 408 '<(SHARED_INTERMEDIATE_DIR)/allocator',
404 '<(target_arch)', 409 '<(target_arch)',
405 ], 410 ],
406 }, 411 },
407 ], 412 ],
408 }, 413 },
409 ], 414 ],
410 }], 415 }],
411 ], 416 ],
412 } 417 }
OLDNEW
« no previous file with comments | « base/allocator/BUILD.gn ('k') | third_party/tcmalloc/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698