New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 724399 link

Starred by 7 users

Issue metadata

Status: Assigned
Owner:
Last visit 21 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Refresh the native heap allocator used in Chrome OS Chrome

Project Member Reported by bccheng@chromium.org, May 19 2017

Issue description

Chrome on Chrome OS still uses an old snapshot of tcmalloc. We will use this bug to track the effort and progress of switching to an alternative implementation.

Mao recently has successfully compiled Chrome with ToT tcmalloc in his sandbox, and we are in the process of trying to measure the before/after impact of the switch.
 
Not directly related to this effort, there has been an interesting discussion of replacing tcmalloc with partition_alloc (See //base/allocator/partition_alloc).

https://groups.google.com/a/chromium.org/forum/#!searchin/memory-dev/partitionalloc/memory-dev/-FsNR0lDM1A/fm3p094yCAAJ

https://groups.google.com/a/chromium.org/forum/#!searchin/memory-dev/partitionalloc/memory-dev/idOl_9Sw2MQ/HQnmJAGmEgAJ

Would it be possible to experiment with comparing the performance / memory impact between tcmalloc and partition_alloc? (If it's hard, feel free to ignore this comment.)

Comment 2 by dskiba@chromium.org, May 19 2017

Cc: dskiba@chromium.org

Comment 3 by lizeb@chromium.org, May 30 2017

Cc: lizeb@chromium.org
I don't see the point of using tcmalloc for heap profiling.
Just use https://chromium.googlesource.com/chromium/src/+/master/chrome/profiling/README.md 

tcmalloc heap profiler still doesn't intercept partition alloc and oilpan allocations.
Also, the current heap profiler has all the workarounds in place to deal with sandboxing (already deals with getting mmaps from the browser process).

Furthermore the chrome heap profiler is way faster, bot due to its OOP design and due to the possibility of enabling sampling.

I think that trying to revive the tcmalloc heap profiler has very little sense.
Note that Chrome on ChromeOS is still using tcmalloc by default. We're not trying to revive tcmalloc on other platforms, we just want to uprev tcmalloc on ChromeOS.

BTW, the doc does not even mention ChromeOS: https://chromium.googlesource.com/chromium/src/+/master/docs/memory-infra/heap_profiler.md

also, updating to the latest tcmalloc is very attractive because Google has been working on several improvements for it.
We (chromeos-toolchain) are interested in applying/collaborating-on some of those improvements (like use of huge pages).


Comment 8 by wfh@chromium.org, Mar 19 2018

Cc: palmer@chromium.org
is tcmalloc the long term plan for allocators on linux-like platforms? On Android, we do not use it afaik, so this is for just Linux and ChromeOS? What about using partition-alloc instead on these platforms? +palmer

I'd like to see some comparisons of the perf/memory for updating to latest version, have we got any results from the perf bots?

I can happily have the discussion on this bug, or on one of the CLs linked from https://crrev.com/c/961780, let me know what you'd prefer.

Comment 9 by palmer@chromium.org, Mar 19 2018

Cc: verwa...@chromium.org
#7: Do you mean Transparent Huge Pages (in the Linux sense: `MADV_HUGEPAGE` as a parameter to `madvise`)? We (verwaest and I) believe that *not* using THPs, as Chrome and Chrome OS currently do not, might have value as a security mitigation. (Ping me privately for more detail if you like.)
> On Android, we do not use it afaik
Correct

> so this is for just Linux and ChromeOS? 
Yup

> What about using partition-alloc instead on these platforms? +palmer
Curious here as well, and generally feel aligned with the question "is tcmalloc the long term plan for allocators on linux-like platforms?"

> I'd like to see some comparisons of the perf/memory for updating to latest version, have we got any results from the perf bots?

Strong +1 to this


Summary: Refresh the native heap allocator used in Chrome OS Chrome (was: Refresh the native heap allocatior used in Chrome OS Chrome)
Cc: gmx@chromium.org ccrucius@google.com

Comment 13 by tipp@google.com, Mar 21 2018

On profiling, there may be some misconceptions about tcmalloc's allocation sampler (heapz).  heapz is always on in ~every C++ (and Java and Go) server inside google, and costs <0.1% CPU and a few tens of kilobytes per process (proportional to memory allocated). The output isn't a trace, but a sampled callgraph of allocation sites.

It's technically true that OOPHP has no overhead when it's disabled, but the allocator shim has the cost of at least a branch, which is the same as heapz when disabled.  It looks like OOPHP has a 50% CPU overhead when enabled.  I'm not entirely sure what the OOPHP is reporting back; perhaps it's more detailed than heapz?  Covering partition and oilpan is obviously nice, but it's somewhat orthogonal because tcmalloc's sampler could be extended (or copied) for those as well.

On the broader topic of refreshing the allocator, the tcmalloc in chromeos is pretty ancient, and we've invested a lot into improving tcmalloc inside google3  (which is somewhat consistent with gperftools as well), with really impressive results.  Whether the improvements translate to ChromeOS is an open question.   3.4% of CPU is spent in tcmalloc on ChromeOS, so there's definitely some opportunity.  Whether tcmalloc is the best allocator for chromeos is also an open question, and performance may not be the only deciding factor.  We should evaluate the options, ideally with A/B field tests.



Comment 14 by alph@chromium.org, Mar 28 2018

Cc: alph@chromium.org
Cc: cywang@chromium.org

Comment 16 by gmx@chromium.org, Jun 20 2018

Owner: gmx@chromium.org
I would like to restart this discussion, and find some owner on the Chromium side that can work with me (mainly on reviewing the changes) to uprev tcmalloc.

I ran some experiments on benchmarks with the old and the new tcmalloc.
The goal was to find a set of configuration parameters that don't introduce memory or performance regressions.
https://docs.google.com/document/d/1MDswP07GuBAzMmwPjGinKfT6NhVdKpznK7-Ed1VyYjQ/edit?usp=sharing

According to alkby@, some additional tuning work is possible to get back part of the performance gains that were lost by enabling aggressive decommit, but that is separate from this uprev effort.

Project Member

Comment 17 by bugdroid1@chromium.org, Jul 11

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/615e0342e44cbe073b1958ab9f5a318d799f6f34

commit 615e0342e44cbe073b1958ab9f5a318d799f6f34
Author: Gabriel Marin <gmx@chromium.org>
Date: Wed Jul 11 21:38:42 2018

tcmalloc: Move existing tcmalloc files under gperftools-2.0.

Move existing tcmalloc files, both vendor and chromium, under gperftools-2.0
in preparation for upreving tcmalloc to the most recent gperftools version.

This CL did:

  # Create a gerftools-2.0 folder.
  mkdir gperftools-2.0

  # Move vendor/ and chromium/ under the new folder.
  git mv vendor gperftools-2.0/vendor
  git mv chromium gperftools-2.0/chromium

  # Update //base/allocator/BUILD.gn to have tcmalloc_dir point to
  # //third_party/tcmalloc/gperftools-2.0/chromium/src.
  # Update addr2line-pdb sources in tcmalloc/BUILD.gn.
  # Update include paths in files under //base/process and //base/allocator.

This is old code that uses currently banned functions.
NOPRESUBMIT=true

BUG=724399,b:70905156

Change-Id: I498a6edda48e178bbacfb41e30f75e9e96e336fc
Reviewed-on: https://chromium-review.googlesource.com/1130670
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#574346}
[modify] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/base/allocator/BUILD.gn
[modify] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/base/allocator/allocator_extension.cc
[modify] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/base/allocator/allocator_shim_default_dispatch_to_tcmalloc.cc
[modify] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/base/allocator/debugallocation_shim.cc
[modify] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/base/process/memory_linux.cc
[modify] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/BUILD.gn
[delete] https://crrev.com/68f5bba43ac5253bc96447696b74b6e23fc68d95/third_party/tcmalloc/chromium/src/config.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/OWNERS
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/addressmap-inl.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/abort.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/abort.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/arm_instruction_set_select.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/atomicops-internals-arm-generic.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/atomicops-internals-arm-v6plus.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/atomicops-internals-linuxppc.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/atomicops-internals-macosx.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/atomicops-internals-mips.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/atomicops-internals-windows.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/atomicops-internals-x86.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/atomicops-internals-x86.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/atomicops.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/basictypes.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/commandlineflags.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/cycleclock.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/dynamic_annotations.c
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/dynamic_annotations.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/elf_mem_image.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/elf_mem_image.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/elfcore.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/googleinit.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/linux_syscall_support.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/linuxthreads.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/linuxthreads.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/logging.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/logging.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/low_level_alloc.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/low_level_alloc.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/simple_mutex.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/spinlock.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/spinlock.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/spinlock_internal.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/spinlock_internal.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/spinlock_linux-inl.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/spinlock_posix-inl.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/spinlock_win32-inl.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/stl_allocator.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/synchronization_profiling.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/sysinfo.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/sysinfo.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/thread_annotations.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/thread_lister.c
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/thread_lister.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/vdso_support.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/base/vdso_support.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/central_freelist.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/central_freelist.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/common.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/common.h
[add] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/config.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/config.h.in
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/config_android.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/config_for_unittests.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/config_freebsd.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/config_linux.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/config_win.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/debugallocation.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/free_list.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/free_list.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/getpc.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/google/heap-checker.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/google/heap-profiler.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/google/malloc_extension.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/google/malloc_extension_c.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/google/malloc_hook.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/google/malloc_hook_c.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/google/profiler.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/google/stacktrace.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/google/tcmalloc.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/heap-checker.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/heap-profiler.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/malloc_extension.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/malloc_extension_c.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/malloc_hook.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/malloc_hook_c.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/profiler.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/stacktrace.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/tcmalloc.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/tcmalloc.h.in
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/heap-checker-bcad.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/heap-checker.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/heap-profile-stats.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/heap-profile-table.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/heap-profile-table.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/heap-profiler.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/internal_logging.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/internal_logging.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/libc_override.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/libc_override_gcc_and_weak.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/libc_override_glibc.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/libc_override_osx.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/libc_override_redefine.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/linked_list.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/linux_shadow_stacks.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/linux_shadow_stacks.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/malloc_extension.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/malloc_hook-inl.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/malloc_hook.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/malloc_hook_mmap_freebsd.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/malloc_hook_mmap_linux.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/maybe_threads.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/maybe_threads.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/memfs_malloc.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/memory_region_map.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/memory_region_map.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/packed-cache-inl.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/page_heap.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/page_heap.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/page_heap_allocator.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/pagemap.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/pprof
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/profile-handler.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/profile-handler.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/profiledata.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/profiledata.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/profiler.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/raw_printer.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/raw_printer.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/sampler.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/sampler.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/solaris/libstdc++.la
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/span.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/span.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/stack_trace_table.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/stack_trace_table.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace_android-inl.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace_arm-inl.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace_config.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace_generic-inl.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace_libunwind-inl.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace_mips-inl.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace_powerpc-inl.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace_win32-inl.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace_with_context.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace_x86-inl.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/static_vars.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/static_vars.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/symbolize.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/symbolize.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/system-alloc.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/system-alloc.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/tcmalloc.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/tcmalloc.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/tcmalloc_guard.h
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/addressmap_unittest.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/atomicops_unittest.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/current_allocated_bytes_test.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/debugallocation_test.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/debugallocation_test.sh
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/frag_unittest.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/getpc_test.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/heap-checker-death_unittest.sh
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/heap-checker_unittest.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/heap-checker_unittest.sh
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/heap-profiler_unittest.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/heap-profiler_unittest.sh
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/low_level_alloc_unittest.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/malloc_extension_c_test.c
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/malloc_extension_test.cc
[rename] https://crrev.com/615e0342e44cbe073b1958ab9f5a318d799f6f34/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/malloc_hook_test.cc
[rename] https://crrev.com/615e0342e44cb
Project Member

Comment 18 by bugdroid1@chromium.org, Jul 12

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/06c7d7e68470ca975c0d10340a89e3e69ebab6ad

commit 06c7d7e68470ca975c0d10340a89e3e69ebab6ad
Author: Jochen Eisinger <jochen@chromium.org>
Date: Thu Jul 12 14:59:54 2018

Revert "tcmalloc: Move existing tcmalloc files under gperftools-2.0."

This reverts commit 615e0342e44cbe073b1958ab9f5a318d799f6f34.

Reason for revert: breaks compilation with enable_profiling = true

Original change's description:
> tcmalloc: Move existing tcmalloc files under gperftools-2.0.
> 
> Move existing tcmalloc files, both vendor and chromium, under gperftools-2.0
> in preparation for upreving tcmalloc to the most recent gperftools version.
> 
> This CL did:
> 
>   # Create a gerftools-2.0 folder.
>   mkdir gperftools-2.0
> 
>   # Move vendor/ and chromium/ under the new folder.
>   git mv vendor gperftools-2.0/vendor
>   git mv chromium gperftools-2.0/chromium
> 
>   # Update //base/allocator/BUILD.gn to have tcmalloc_dir point to
>   # //third_party/tcmalloc/gperftools-2.0/chromium/src.
>   # Update addr2line-pdb sources in tcmalloc/BUILD.gn.
>   # Update include paths in files under //base/process and //base/allocator.
> 
> This is old code that uses currently banned functions.
> NOPRESUBMIT=true
> 
> BUG=724399,b:70905156
> 
> Change-Id: I498a6edda48e178bbacfb41e30f75e9e96e336fc
> Reviewed-on: https://chromium-review.googlesource.com/1130670
> Reviewed-by: Will Harris <wfh@chromium.org>
> Commit-Queue: Gabriel Marin <gmx@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#574346}

TBR=wfh@chromium.org,gmx@chromium.org

Change-Id: Ifdd162a045009444621c6e3052f348919fdafc96
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 724399, b:70905156
Reviewed-on: https://chromium-review.googlesource.com/1135266
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Commit-Queue: Jochen Eisinger <jochen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#574561}
[modify] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/base/allocator/BUILD.gn
[modify] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/base/allocator/allocator_extension.cc
[modify] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/base/allocator/allocator_shim_default_dispatch_to_tcmalloc.cc
[modify] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/base/allocator/debugallocation_shim.cc
[modify] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/base/process/memory_linux.cc
[modify] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/BUILD.gn
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/OWNERS
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/addressmap-inl.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/abort.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/abort.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/arm_instruction_set_select.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/atomicops-internals-arm-generic.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/atomicops-internals-arm-v6plus.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/atomicops-internals-linuxppc.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/atomicops-internals-macosx.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/atomicops-internals-mips.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/atomicops-internals-windows.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/atomicops-internals-x86.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/atomicops-internals-x86.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/atomicops.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/basictypes.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/commandlineflags.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/cycleclock.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/dynamic_annotations.c
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/dynamic_annotations.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/elf_mem_image.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/elf_mem_image.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/elfcore.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/googleinit.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/linuxthreads.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/linuxthreads.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/logging.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/logging.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/low_level_alloc.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/low_level_alloc.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/simple_mutex.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/spinlock.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/spinlock.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/spinlock_internal.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/spinlock_internal.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/spinlock_linux-inl.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/spinlock_posix-inl.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/spinlock_win32-inl.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/stl_allocator.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/synchronization_profiling.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/sysinfo.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/sysinfo.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/thread_annotations.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/thread_lister.c
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/thread_lister.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/vdso_support.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/base/vdso_support.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/central_freelist.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/central_freelist.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/common.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/common.h
[add] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/config.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/config.h.in
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/config_android.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/config_for_unittests.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/config_freebsd.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/config_linux.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/config_win.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/debugallocation.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/free_list.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/free_list.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/getpc.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/google/heap-checker.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/google/heap-profiler.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/google/malloc_extension.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/google/malloc_extension_c.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/google/malloc_hook.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/google/malloc_hook_c.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/google/profiler.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/google/stacktrace.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/google/tcmalloc.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/gperftools/heap-checker.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/gperftools/malloc_extension.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/gperftools/malloc_extension_c.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/gperftools/malloc_hook.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/gperftools/malloc_hook_c.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/gperftools/profiler.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/gperftools/stacktrace.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/gperftools/tcmalloc.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/gperftools/tcmalloc.h.in
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/heap-checker-bcad.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/heap-checker.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/heap-profile-stats.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/heap-profile-table.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/heap-profile-table.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/heap-profiler.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/internal_logging.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/internal_logging.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/libc_override.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/libc_override_gcc_and_weak.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/libc_override_glibc.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/libc_override_osx.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/libc_override_redefine.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/linked_list.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/linux_shadow_stacks.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/linux_shadow_stacks.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/malloc_extension.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/malloc_hook-inl.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/malloc_hook.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/malloc_hook_mmap_freebsd.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/maybe_threads.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/maybe_threads.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/memfs_malloc.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/memory_region_map.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/memory_region_map.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/packed-cache-inl.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/page_heap.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/page_heap.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/page_heap_allocator.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/pagemap.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/pprof
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/profile-handler.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/profile-handler.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/profiledata.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/profiledata.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/profiler.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/raw_printer.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/raw_printer.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/sampler.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/sampler.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/solaris/libstdc++.la
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/span.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/span.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/stack_trace_table.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/stack_trace_table.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/stacktrace.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/stacktrace_android-inl.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/stacktrace_arm-inl.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/stacktrace_config.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/stacktrace_generic-inl.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/stacktrace_libunwind-inl.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/stacktrace_mips-inl.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/stacktrace_powerpc-inl.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/stacktrace_win32-inl.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/stacktrace_with_context.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/stacktrace_x86-inl.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/static_vars.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/static_vars.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/symbolize.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/symbolize.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/system-alloc.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/system-alloc.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tcmalloc.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tcmalloc.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tcmalloc_guard.h
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/addressmap_unittest.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/current_allocated_bytes_test.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/debugallocation_test.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/debugallocation_test.sh
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/frag_unittest.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/getpc_test.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/heap-checker-death_unittest.sh
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.sh
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/heap-profiler_unittest.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/heap-profiler_unittest.sh
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/low_level_alloc_unittest.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/malloc_extension_c_test.c
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/malloc_extension_test.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/malloc_hook_test.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/markidle_unittest.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/maybe_threads_unittest.sh
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/packed-cache_test.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/page_heap_test.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/pagemap_unittest.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/profile-handler_unittest.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/profiledata_unittest.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/profiler_unittest.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/profiler_unittest.sh
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/raw_printer_test.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/realloc_unittest.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/sampler_test.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/sampling_test.cc
[rename] https://crrev.com/06c7d7e68470ca975c0d10340a89e3e69ebab6ad/third_party/tcmalloc/chromium/src/tests/sam
Project Member

Comment 19 by bugdroid1@chromium.org, Jul 13

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/132b68d1bfcffa4690ac8abbb2f413062b093928

commit 132b68d1bfcffa4690ac8abbb2f413062b093928
Author: Gabriel Marin <gmx@chromium.org>
Date: Fri Jul 13 18:04:40 2018

Reland "tcmalloc: Move existing tcmalloc files under gperftools-2.0."

This is a reland of 615e0342e44cbe073b1958ab9f5a318d799f6f34

Fixed tcmalloc include path in file //base/debug/profiler.cc, which is used
when enable_profiling = true.

Original change's description:
> tcmalloc: Move existing tcmalloc files under gperftools-2.0.
>
> Move existing tcmalloc files, both vendor and chromium, under gperftools-2.0
> in preparation for upreving tcmalloc to the most recent gperftools version.
>
> This CL did:
>
>   # Create a gerftools-2.0 folder.
>   mkdir gperftools-2.0
>
>   # Move vendor/ and chromium/ under the new folder.
>   git mv vendor gperftools-2.0/vendor
>   git mv chromium gperftools-2.0/chromium
>
>   # Update //base/allocator/BUILD.gn to have tcmalloc_dir point to
>   # //third_party/tcmalloc/gperftools-2.0/chromium/src.
>   # Update addr2line-pdb sources in tcmalloc/BUILD.gn.
>   # Update include paths in files under //base/process and //base/allocator.
>
> This is old code that uses currently banned functions.
> NOPRESUBMIT=true
>
> BUG=724399,b:70905156
>
> Change-Id: I498a6edda48e178bbacfb41e30f75e9e96e336fc
> Reviewed-on: https://chromium-review.googlesource.com/1130670
> Reviewed-by: Will Harris <wfh@chromium.org>
> Commit-Queue: Gabriel Marin <gmx@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#574346}

This is old code that uses currently banned functions.
NOPRESUBMIT=true

Bug: 724399, b:70905156
Change-Id: Icb15af2017e7d7e1e41322df6f17be54af71c528
Reviewed-on: https://chromium-review.googlesource.com/1135672
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#574973}
[modify] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/base/allocator/BUILD.gn
[modify] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/base/allocator/allocator_extension.cc
[modify] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/base/allocator/allocator_shim_default_dispatch_to_tcmalloc.cc
[modify] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/base/allocator/debugallocation_shim.cc
[modify] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/base/debug/profiler.cc
[modify] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/base/process/memory_linux.cc
[modify] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/BUILD.gn
[delete] https://crrev.com/1859f9ff8aac1f1cb13b73972dc1f50394a62fee/third_party/tcmalloc/chromium/src/config.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/OWNERS
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/addressmap-inl.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/abort.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/abort.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/arm_instruction_set_select.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/atomicops-internals-arm-generic.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/atomicops-internals-arm-v6plus.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/atomicops-internals-linuxppc.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/atomicops-internals-macosx.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/atomicops-internals-mips.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/atomicops-internals-windows.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/atomicops-internals-x86.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/atomicops-internals-x86.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/atomicops.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/basictypes.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/commandlineflags.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/cycleclock.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/dynamic_annotations.c
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/dynamic_annotations.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/elf_mem_image.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/elf_mem_image.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/elfcore.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/googleinit.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/linux_syscall_support.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/linuxthreads.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/linuxthreads.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/logging.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/logging.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/low_level_alloc.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/low_level_alloc.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/simple_mutex.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/spinlock.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/spinlock.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/spinlock_internal.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/spinlock_internal.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/spinlock_linux-inl.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/spinlock_posix-inl.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/spinlock_win32-inl.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/stl_allocator.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/synchronization_profiling.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/sysinfo.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/sysinfo.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/thread_annotations.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/thread_lister.c
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/thread_lister.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/vdso_support.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/base/vdso_support.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/central_freelist.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/central_freelist.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/common.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/common.h
[add] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/config.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/config.h.in
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/config_android.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/config_for_unittests.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/config_freebsd.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/config_linux.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/config_win.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/debugallocation.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/free_list.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/free_list.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/getpc.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/google/heap-checker.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/google/heap-profiler.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/google/malloc_extension.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/google/malloc_extension_c.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/google/malloc_hook.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/google/malloc_hook_c.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/google/profiler.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/google/stacktrace.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/google/tcmalloc.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/heap-checker.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/heap-profiler.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/malloc_extension.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/malloc_extension_c.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/malloc_hook.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/malloc_hook_c.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/profiler.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/stacktrace.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/tcmalloc.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/tcmalloc.h.in
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/heap-checker-bcad.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/heap-checker.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/heap-profile-stats.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/heap-profile-table.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/heap-profile-table.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/heap-profiler.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/internal_logging.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/internal_logging.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/libc_override.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/libc_override_gcc_and_weak.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/libc_override_glibc.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/libc_override_osx.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/libc_override_redefine.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/linked_list.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/linux_shadow_stacks.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/linux_shadow_stacks.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/malloc_extension.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/malloc_hook-inl.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/malloc_hook.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/malloc_hook_mmap_freebsd.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/malloc_hook_mmap_linux.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/maybe_threads.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/maybe_threads.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/memfs_malloc.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/memory_region_map.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/memory_region_map.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/packed-cache-inl.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/page_heap.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/page_heap.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/page_heap_allocator.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/pagemap.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/pprof
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/profile-handler.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/profile-handler.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/profiledata.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/profiledata.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/profiler.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/raw_printer.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/raw_printer.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/sampler.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/sampler.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/solaris/libstdc++.la
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/span.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/span.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/stack_trace_table.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/stack_trace_table.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace_android-inl.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace_arm-inl.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace_config.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace_generic-inl.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace_libunwind-inl.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace_mips-inl.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace_powerpc-inl.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace_win32-inl.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace_with_context.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/stacktrace_x86-inl.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/static_vars.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/static_vars.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/symbolize.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/symbolize.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/system-alloc.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/system-alloc.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/tcmalloc.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/tcmalloc.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/tcmalloc_guard.h
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/addressmap_unittest.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/atomicops_unittest.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/current_allocated_bytes_test.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/debugallocation_test.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/debugallocation_test.sh
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/frag_unittest.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/getpc_test.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/heap-checker-death_unittest.sh
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/heap-checker_unittest.cc
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/heap-checker_unittest.sh
[rename] https://crrev.com/132b68d1bfcffa4690ac8abbb2f413062b093928/third_party/tcmalloc/gperftools-2.0/chromium/src/tests/heap-profiler_unittest.cc
[rename] https:/
Project Member

Comment 20 by bugdroid1@chromium.org, Jul 18

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/dc04a6cda254066ee4b48e500409bc657578fcc0

commit dc04a6cda254066ee4b48e500409bc657578fcc0
Author: Gabriel Marin <gmx@chromium.org>
Date: Wed Jul 18 21:32:48 2018

tcmalloc: pull in tcmalloc 2.7

This CL pulls in tcmalloc 2.7, the most recent release from upstream.
Places the files under vendor/ and makes a copy of the code under chromium/.

This CL did:
  # clone tcmalloc repository
  git clone https://github.com/gperftools/gperftools vendor

  # checkout the new version and remove git metadata
  cd vendor && git checkout gperftools-2.7 && rm -rf .git

  # mirror the src folder
  cd .. && rsync -av --delete vendor/src/ chromium/src/

This is code pulled from upstream.
NOPRESUBMIT=true

BUG=724399,b:70905156

Change-Id: I3a3510d514de15a8b1463725fa6f7dab9b1e6d0e
Reviewed-on: https://chromium-review.googlesource.com/1130671
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#576221}
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/addressmap-inl.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/arm_instruction_set_select.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/atomicops-internals-arm-generic.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/atomicops-internals-arm-v6plus.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/atomicops-internals-gcc.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/atomicops-internals-linuxppc.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/atomicops-internals-macosx.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/atomicops-internals-mips.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/atomicops-internals-windows.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/atomicops-internals-x86.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/atomicops-internals-x86.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/atomicops.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/basictypes.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/commandlineflags.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/dynamic_annotations.c
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/dynamic_annotations.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/elf_mem_image.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/elf_mem_image.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/elfcore.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/googleinit.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/linuxthreads.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/linuxthreads.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/logging.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/logging.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/low_level_alloc.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/low_level_alloc.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/simple_mutex.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/spinlock.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/spinlock.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/spinlock_internal.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/spinlock_internal.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/spinlock_linux-inl.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/spinlock_posix-inl.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/spinlock_win32-inl.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/stl_allocator.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/sysinfo.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/sysinfo.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/thread_annotations.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/thread_lister.c
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/thread_lister.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/vdso_support.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/base/vdso_support.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/central_freelist.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/central_freelist.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/common.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/common.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/config_for_unittests.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/debugallocation.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/emergency_malloc.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/emergency_malloc.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/emergency_malloc_for_stacktrace.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/fake_stacktrace_scope.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/getenv_safe.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/getpc.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/google/heap-checker.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/google/heap-profiler.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/google/malloc_extension.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/google/malloc_extension_c.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/google/malloc_hook.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/google/malloc_hook_c.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/google/profiler.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/google/stacktrace.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/google/tcmalloc.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/gperftools/heap-checker.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/gperftools/malloc_extension.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/gperftools/malloc_extension_c.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/gperftools/malloc_hook.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/gperftools/malloc_hook_c.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/gperftools/nallocx.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/gperftools/profiler.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/gperftools/stacktrace.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/gperftools/tcmalloc.h.in
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/heap-checker-bcad.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/heap-checker.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/heap-profile-stats.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/heap-profile-table.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/heap-profile-table.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/heap-profiler.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/internal_logging.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/internal_logging.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/libc_override.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/libc_override_gcc_and_weak.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/libc_override_glibc.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/libc_override_osx.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/libc_override_redefine.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/linked_list.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/malloc_extension.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/malloc_hook-inl.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/malloc_hook.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/malloc_hook_mmap_freebsd.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/maybe_emergency_malloc.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/maybe_threads.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/maybe_threads.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/memfs_malloc.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/memory_region_map.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/memory_region_map.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/packed-cache-inl.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/page_heap.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/page_heap.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/page_heap_allocator.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/pagemap.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/pprof
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/profile-handler.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/profile-handler.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/profiledata.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/profiledata.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/profiler.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/raw_printer.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/raw_printer.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/sampler.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/sampler.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/solaris/libstdc++.la
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/span.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/span.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/stack_trace_table.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/stack_trace_table.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/stacktrace.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/stacktrace_arm-inl.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/stacktrace_generic-inl.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/stacktrace_impl_setup-inl.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/stacktrace_instrument-inl.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/stacktrace_libgcc-inl.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/stacktrace_libunwind-inl.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/stacktrace_powerpc-darwin-inl.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/stacktrace_powerpc-inl.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/stacktrace_powerpc-linux-inl.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/stacktrace_win32-inl.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/stacktrace_x86-inl.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/static_vars.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/static_vars.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/symbolize.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/symbolize.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/system-alloc.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/system-alloc.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tcmalloc.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tcmalloc.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tcmalloc_guard.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/addressmap_unittest.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/current_allocated_bytes_test.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/debugallocation_test.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/debugallocation_test.sh
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/frag_unittest.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/getpc_test.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/heap-checker-death_unittest.sh
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.sh
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/heap-profiler_unittest.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/heap-profiler_unittest.sh
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/large_heap_fragmentation_unittest.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/low_level_alloc_unittest.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/malloc_extension_c_test.c
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/malloc_extension_test.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/malloc_hook_test.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/markidle_unittest.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/maybe_threads_unittest.sh
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/packed-cache_test.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/page_heap_test.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/pagemap_unittest.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/profile-handler_unittest.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/profiledata_unittest.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/profiler_unittest.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/profiler_unittest.sh
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/raw_printer_test.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/realloc_unittest.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/sampler_test.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/sampling_test.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/sampling_test.sh
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/simple_compat_test.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/stack_trace_table_test.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/stacktrace_unittest.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/system-alloc_unittest.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/tcmalloc_large_unittest.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.sh
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/testutil.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/testutil.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/tests/thread_dealloc_unittest.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/third_party/valgrind.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/thread_cache.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/thread_cache.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/windows/TODO
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/windows/addr2line-pdb.c
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/windows/auto_testing_hook.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/windows/config.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/windows/get_mangled_names.cc
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/windows/google/tcmalloc.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/windows/gperftools/tcmalloc.h
[add] https://crrev.com/dc04a6cda254066ee4b48e500409bc657578fcc0/third_party/tcmalloc/chromium/src/windows/gperftools/tcmalloc.h.in
[add] http
Project Member

Comment 21 by bugdroid1@chromium.org, Jul 23

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/991cb5dbe9197aeb0b4dc0701826be371257103b

commit 991cb5dbe9197aeb0b4dc0701826be371257103b
Author: Gabriel Marin <gmx@chromium.org>
Date: Mon Jul 23 23:36:22 2018

tcmalloc: Add build flag to select new tcmalloc version

We are trying to uprev the tcmalloc version used in Chromium.
As part of the transition to a new tcmalloc, we plan to run experiments
with the new tcmalloc on a small number of boards before we enable the
new version globally.

This CL adds a build flag to select between the two tcmalloc versions at
build time. By default, the old tcmalloc version is used.

BUG=724399,b:70905156

Change-Id: I6839bba721b0d2a5f3515e7346bff418b0155221
Reviewed-on: https://chromium-review.googlesource.com/1130672
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Albert J. Wong <ajwong@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#577320}
[modify] https://crrev.com/991cb5dbe9197aeb0b4dc0701826be371257103b/base/allocator/BUILD.gn
[modify] https://crrev.com/991cb5dbe9197aeb0b4dc0701826be371257103b/base/allocator/allocator_extension.cc
[modify] https://crrev.com/991cb5dbe9197aeb0b4dc0701826be371257103b/base/allocator/allocator_shim_default_dispatch_to_tcmalloc.cc
[modify] https://crrev.com/991cb5dbe9197aeb0b4dc0701826be371257103b/base/allocator/debugallocation_shim.cc
[modify] https://crrev.com/991cb5dbe9197aeb0b4dc0701826be371257103b/base/debug/profiler.cc
[modify] https://crrev.com/991cb5dbe9197aeb0b4dc0701826be371257103b/base/process/memory_linux.cc
[modify] https://crrev.com/991cb5dbe9197aeb0b4dc0701826be371257103b/build/config/allocator.gni
[modify] https://crrev.com/991cb5dbe9197aeb0b4dc0701826be371257103b/third_party/tcmalloc/BUILD.gn

Project Member

Comment 22 by bugdroid1@chromium.org, Jul 25

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5b89b0ac9758e9b4caef7a3b0943d65677f8c582

commit 5b89b0ac9758e9b4caef7a3b0943d65677f8c582
Author: Gabriel Marin <gmx@chromium.org>
Date: Wed Jul 25 17:07:26 2018

tcmalloc: fixes for the windows addr2line wrapper

Fixes a few small format string bugs and makes the windows library
configuration #defines more friendly for chromium builds.

Based on original CL: https://codereview.chromium.org/2730473002

BUG=724399,b:70905156

Change-Id: If54c6cfc5c508744d2ee18f251677b2456acda72
Reviewed-on: https://chromium-review.googlesource.com/1145626
Commit-Queue: Will Harris <wfh@chromium.org>
Reviewed-by: Albert J. Wong <ajwong@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#577948}
[modify] https://crrev.com/5b89b0ac9758e9b4caef7a3b0943d65677f8c582/third_party/tcmalloc/chromium/src/windows/addr2line-pdb.c

Project Member

Comment 23 by bugdroid1@chromium.org, Jul 25

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f2273fe0b0dcc5e56c8ba5cdc0e28e5bdee5ba51

commit f2273fe0b0dcc5e56c8ba5cdc0e28e5bdee5ba51
Author: Gabriel Marin <gmx@chromium.org>
Date: Wed Jul 25 22:00:13 2018

tcmalloc: add long form flag '--exe' to specify the binary

This change was originally made as part of CL
https://codereview.chromium.org/2730473002

BUG=724399,b:70905156

Change-Id: I33ee28eac4dab6077cf162358cf4c10b41c0f6a2
Reviewed-on: https://chromium-review.googlesource.com/1147667
Reviewed-by: Will Harris <wfh@chromium.org>
Reviewed-by: Albert J. Wong <ajwong@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#578087}
[modify] https://crrev.com/f2273fe0b0dcc5e56c8ba5cdc0e28e5bdee5ba51/third_party/tcmalloc/chromium/src/windows/addr2line-pdb.c

Project Member

Comment 24 by bugdroid1@chromium.org, Jul 25

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/73d72081d54976e5723d930eb8fa67559a22264d

commit 73d72081d54976e5723d930eb8fa67559a22264d
Author: Gabriel Marin <gmx@chromium.org>
Date: Wed Jul 25 22:18:47 2018

tcmalloc: use relative addresses with the windows addr2line wrapper

Modifies the Windows addr2line wrapper to expect addresses relative to
DllBase to better simulate how addr2line works with modules in Linux.

Windows DLLs have a concept of "default load address" which hints to the OS
where to load the binary image after relocation. The dbghelp.dll
symbolization library will load the module at this location in the virtual
address space meaning the caller of these functions would need to be aware
of the base address. This makes things unnecessarily complex in the face of
ASLR and also diverges from the behavior of addr2line when used with linux-
style DSOs. This CL simply adds the module base address to the incoming
addresses, thereby making the input relative addresses for the module which
both is easier to use and lines up better with linux's addr2line behavior.

These changes were made originally as part of CL
https://codereview.chromium.org/2730473002.

BUG=724399,b:70905156

Change-Id: I0abe9e0c380e7e60ae29a11021bb805b31718d08
Reviewed-on: https://chromium-review.googlesource.com/1147668
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Reviewed-by: Albert J. Wong <ajwong@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#578096}
[modify] https://crrev.com/73d72081d54976e5723d930eb8fa67559a22264d/third_party/tcmalloc/chromium/src/windows/addr2line-pdb.c

Last I checked, open-source tcmalloc was very different from google-internal tcmalloc, and chromium tcmalloc is very different from both. This was admittedly a while ago, but back then they had common ancestors but were basically 3 different things.

Is public tcmalloc now closer to google-internal tcmalloc? If not, is the proposal to use google-internal tcmalloc or public tcmalloc?
Upstream (open-source) tcmalloc and google-internal tcmalloc are still different things, but alkby@ has been working on upstreaming more of the internal changes.

Some changes (per-cpu caches) could not be open sourced because the upstream kernel didn't have the necessary support. There is a separate effort to upstream those kernel changes.

So, while the upstream gperftools doesn't have all the internal optimizations, it does get a subset of them and more are on the way.

The effort here is to use the newest public tcmalloc.
Project Member

Comment 27 by bugdroid1@chromium.org, Jul 26

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7d2355af35d7c397f53e3913602c170a57fa07c6

commit 7d2355af35d7c397f53e3913602c170a57fa07c6
Author: etienneb <etienneb@chromium.org>
Date: Thu Jul 26 18:18:54 2018

Fix potential missing nul character on resolved symbol names

The symbol name returned by SymFromName may not contains a NUL character
when the symbol name is exactly the size of the buffer. It believe this
may also happen when the symbol name is too long and truncated.

The original code is based on:
  https://msdn.microsoft.com/en-us/library/windows/desktop/ms680580(v=vs.85).aspx

A right implementation can be found here:
  https://cs.chromium.org/chromium/src/base/debug/stack_trace_win.cc?l=145&rcl=f4ecb9e37e9e2d59e32b8b96f23ac4a1e33b9552

As described here:
  https://msdn.microsoft.com/en-us/library/windows/desktop/ms680686(v=vs.85).aspx

  NameLen
    The length of the name, in characters, not including the null-terminating character.
  MaxNameLen
    The size of the Name buffer, in characters. If this member is 0, the Name member is not used.

This issue was causing the catapult symbolisation script to encode incorrect (random) characters into the symbol names.
See the example in the bug.

Original BUG=713741

Review-Url: https://codereview.chromium.org/2832643004
Cr-Commit-Position: refs/heads/master@{#466098}

BUG=724399,b:70905156

Change-Id: Ia6de4ddbd5c66a966b74ecec3fda5e853f36073b
Reviewed-on: https://chromium-review.googlesource.com/1147669
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#578373}
[modify] https://crrev.com/7d2355af35d7c397f53e3913602c170a57fa07c6/third_party/tcmalloc/chromium/src/windows/addr2line-pdb.c

Project Member

Comment 28 by bugdroid1@chromium.org, Jul 26

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b989ff9a38ba24a1174d08e90c0b9f2f1cc92cb2

commit b989ff9a38ba24a1174d08e90c0b9f2f1cc92cb2
Author: kaiwang@chromium.org <kaiwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Thu Jul 26 20:23:36 2018

Add a chromium version abort function for tcmalloc: Abort().

This is because on some platform (e.g. Windows), the way to implement abort()
is different so chrome's crash service can not detect the crash but treat as
normal exit. See http://code.google.com/p/chromium/issues/detail?id=118665 for
some detail.
In this implementation, a segment fault will be triggered and this will be
treated as crash on all platforms.

Original BUG=127724

BUG=724399,b:70905156

Review URL: https://chromiumcodereview.appspot.com/10384117

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137013 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit b6da6b187ffec9d19a990c0c058864571bd01a8e)
Signed-off-by: Gabriel Marin <gmx@chromium.org>

Change-Id: I169e44a30d0238073c8c7687d0e9b3d0e15a0158
Reviewed-on: https://chromium-review.googlesource.com/1130776
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#578418}
[add] https://crrev.com/b989ff9a38ba24a1174d08e90c0b9f2f1cc92cb2/third_party/tcmalloc/chromium/src/base/abort.h
[modify] https://crrev.com/b989ff9a38ba24a1174d08e90c0b9f2f1cc92cb2/third_party/tcmalloc/chromium/src/base/atomicops-internals-arm-generic.h
[modify] https://crrev.com/b989ff9a38ba24a1174d08e90c0b9f2f1cc92cb2/third_party/tcmalloc/chromium/src/base/atomicops-internals-arm-v6plus.h
[modify] https://crrev.com/b989ff9a38ba24a1174d08e90c0b9f2f1cc92cb2/third_party/tcmalloc/chromium/src/base/atomicops-internals-windows.h
[modify] https://crrev.com/b989ff9a38ba24a1174d08e90c0b9f2f1cc92cb2/third_party/tcmalloc/chromium/src/base/logging.h
[modify] https://crrev.com/b989ff9a38ba24a1174d08e90c0b9f2f1cc92cb2/third_party/tcmalloc/chromium/src/base/simple_mutex.h
[modify] https://crrev.com/b989ff9a38ba24a1174d08e90c0b9f2f1cc92cb2/third_party/tcmalloc/chromium/src/debugallocation.cc
[modify] https://crrev.com/b989ff9a38ba24a1174d08e90c0b9f2f1cc92cb2/third_party/tcmalloc/chromium/src/heap-checker-bcad.cc
[modify] https://crrev.com/b989ff9a38ba24a1174d08e90c0b9f2f1cc92cb2/third_party/tcmalloc/chromium/src/internal_logging.cc
[modify] https://crrev.com/b989ff9a38ba24a1174d08e90c0b9f2f1cc92cb2/third_party/tcmalloc/chromium/src/memfs_malloc.cc

Project Member

Comment 29 by bugdroid1@chromium.org, Jul 26

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8531eb8693676c9100165c0753241f5299a299ee

commit 8531eb8693676c9100165c0753241f5299a299ee
Author: kaiwang@chromium.org <kaiwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Thu Jul 26 20:28:11 2018

Force abort to a volatile pointer.

Write to NULL will trigger a Clang compile warning and the compiler may
optimize and turn it into a non-op.
int* -> volatile int* to fix this.

Original BUG=127724

BUG=724399,b:70905156

Review URL: https://chromiumcodereview.appspot.com/10392109

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137251 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit 59ba0417421dd13cdcd87f029df5b98776bd6808)
Signed-off-by: Gabriel Marin <gmx@chromium.org>

Change-Id: Ida066f00891c47ee5c42fd272ad976cb3f45572e
Reviewed-on: https://chromium-review.googlesource.com/1130777
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#578422}
[modify] https://crrev.com/8531eb8693676c9100165c0753241f5299a299ee/third_party/tcmalloc/chromium/src/base/abort.h

Project Member

Comment 30 by bugdroid1@chromium.org, Jul 26

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/32f4f17b0e36495c371498e1168b736fce87f289

commit 32f4f17b0e36495c371498e1168b736fce87f289
Author: kaiwang@chromium.org <kaiwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Thu Jul 26 20:51:50 2018

Try not to inline tcmalloc::Abort() so we can find it in stack trace.

BUG=724399,b:70905156

Review URL: https://chromiumcodereview.appspot.com/10535049

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141295 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit 49e4b033aa8306df6475696017beb40f880878b9)
Signed-off-by: Gabriel Marin <gmx@chromium.org>

Change-Id: I5a22ef15a79748fb123609c793c96acbdbe903e1
Reviewed-on: https://chromium-review.googlesource.com/1130778
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#578433}
[add] https://crrev.com/32f4f17b0e36495c371498e1168b736fce87f289/third_party/tcmalloc/chromium/src/base/abort.cc
[modify] https://crrev.com/32f4f17b0e36495c371498e1168b736fce87f289/third_party/tcmalloc/chromium/src/base/abort.h

Project Member

Comment 31 by bugdroid1@chromium.org, Jul 27

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d858be331ef0ae58faf581a574776e999fcd620f

commit d858be331ef0ae58faf581a574776e999fcd620f
Author: jln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Fri Jul 27 19:00:30 2018

Abort: change the magic value written to NULL

Make sure that the magic value can be cast to a char properly.

BUG=724399,b:70905156

Review URL: https://chromiumcodereview.appspot.com/10541122

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141814 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit b9ccf65abf3240d57a53d9d5b1caceebc0c2c19f)
Signed-off-by: Gabriel Marin <gmx@chromium.org>

Change-Id: I31162aefe53624f4bc61a6b2bc6fe83f9df5ff68
Reviewed-on: https://chromium-review.googlesource.com/1130779
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#578736}
[modify] https://crrev.com/d858be331ef0ae58faf581a574776e999fcd620f/third_party/tcmalloc/chromium/src/base/abort.cc

Re comment 26: Sounds great, thanks. Please make sure to upstream the chromium-specific changes we made (listed in third_party/tcmalloc/README.chromium) so that they don't get lost.
Project Member

Comment 33 by bugdroid1@chromium.org, Jul 31

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9a07441f6ae31185f7857818d94112cb06b77ca0

commit 9a07441f6ae31185f7857818d94112cb06b77ca0
Author: Mao Huang <littlecvr@chromium.org>
Date: Tue Jul 31 18:47:43 2018

tcmalloc: Don't let tcmalloc read all kinds of env vars at startup.

Original CL:

- https://codereview.chromium.org/281613004

  Don't let tcmalloc read all kinds of env vars at startup.

  The env vars are still used in profiling=1 builds, by such illustrious
  figures as the deep memory profiler bot and willchan. Reading from the
  environment variables uses static initializers, so this change will
  eliminate those static initializers in profiling=0 builds.

  As discussed in the chromium-dev thread "Does anyone use tcmalloc's
  debugging envvars?".

  BUG=94925
  NOTRY=true

BUG=724399,b:70905156

Change-Id: Ic143dfca456a3475be0938af53c0eb4308f457d1
Reviewed-on: https://chromium-review.googlesource.com/1130780
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579496}
[modify] https://crrev.com/9a07441f6ae31185f7857818d94112cb06b77ca0/third_party/tcmalloc/chromium/src/base/commandlineflags.h

Project Member

Comment 34 by bugdroid1@chromium.org, Jul 31

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/fa774e229e1bbcbd53f406cb2e26e3f6fd4afa56

commit fa774e229e1bbcbd53f406cb2e26e3f6fd4afa56
Author: Mao Huang <littlecvr@chromium.org>
Date: Tue Jul 31 19:34:52 2018

tcmalloc: Let DEFINE_string define char arrays.

Original CL:

- https://codereview.chromium.org/286953011

  tcmalloc: Let DEFINE_string define const char*s.

  DEFINE_string is used in 3 files in tcmalloc, but we only compile one
  of these.  In this one file, the string is converted to char every
  time it's used, and since the string is used after global destructors
  have run it needs to be copied to a second string in a static
  initializer.

  Instead of all that silliness, just let DEFINE_string define a const
  char* (like it does in v8 or webrtc).

  BUG=94925
  R=willchan@chromium.org

  Committed:
  https://src.chromium.org/viewvc/chrome?view=rev&revision=271307

BUG=724399,b:70905156

Change-Id: Iec6efe53f03daff472107e700a9d833d60e33eff
Reviewed-on: https://chromium-review.googlesource.com/1130781
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579528}
[modify] https://crrev.com/fa774e229e1bbcbd53f406cb2e26e3f6fd4afa56/third_party/tcmalloc/chromium/src/base/commandlineflags.h
[modify] https://crrev.com/fa774e229e1bbcbd53f406cb2e26e3f6fd4afa56/third_party/tcmalloc/chromium/src/symbolize.cc

Project Member

Comment 35 by bugdroid1@chromium.org, Jul 31

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/bf3721aec76107e6b45c766a025fbd0da99946dd

commit bf3721aec76107e6b45c766a025fbd0da99946dd
Author: Mao Huang <littlecvr@chromium.org>
Date: Tue Jul 31 21:44:26 2018

tcmalloc: fix heap profiler to always append the process id to the heap
dump.

Original CLs:

- http://codereview.chromium.org/6532051

  Fix heap profiler to always append the process id to the heap dump.

  To run Chrome:
  HEAP_PROFILE_ALLOCATION_INTERVAL=1000000 HEAPPROFILE=heapprof
  out/Debug/chrome

  To analyze:
  pprof --text out/Debug/chrome  heapprof.21026.0039.heap
  pprof --gv out/Debug/chrome  heapprof.21026.0039.heap
  (pprof is slooow)
  Committed:
  http://src.chromium.org/viewvc/chrome?view=rev&revision=86273

- https://codereview.chromium.org/8957007

  Change the heap file names to be Cleanup'ed in
  third_party/tcmalloc/chromium.

  In spite of Chromium's changing heap file names dumped in
  heap-profiler.cc:DumpProfileLocked(), the file names cleaned-up in
  heap-profile-table.cc:HeapProfileTable::CleanupOldProfiles are not
  modified.

  (See the difference between
  third_party/tcmalloc/chromium/src/heap-profiler.cc and
  .../vendor/src/heap-profiler.cc)

  This patch is originally from http://codereview.chromium.org/7865021/.

  BUG=none
  TEST=none

  Committed:
  http://src.chromium.org/viewvc/chrome?view=rev&revision=114777

BUG=724399,b:70905156

Change-Id: Iab590a6a34f3e3922b0958460169e517accef7df
Reviewed-on: https://chromium-review.googlesource.com/1130782
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579581}
[modify] https://crrev.com/bf3721aec76107e6b45c766a025fbd0da99946dd/third_party/tcmalloc/chromium/src/base/sysinfo.cc
[modify] https://crrev.com/bf3721aec76107e6b45c766a025fbd0da99946dd/third_party/tcmalloc/chromium/src/heap-profile-table.cc
[modify] https://crrev.com/bf3721aec76107e6b45c766a025fbd0da99946dd/third_party/tcmalloc/chromium/src/heap-profiler.cc

Project Member

Comment 36 by bugdroid1@chromium.org, Jul 31

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/354de7165c5ba4cf460c856225c95c62ab997568

commit 354de7165c5ba4cf460c856225c95c62ab997568
Author: Gabriel Marin <gmx@chromium.org>
Date: Tue Jul 31 22:35:22 2018

tcmalloc: add config files for different platforms

The Linux config file was generated by autoconf and manually edited to
define PC_FROM_UCONTEXT for ARM, change size_t printf format specifiers to
zd instead of ld, and add a GCC compiler guard around the
HAVE_BUILTIN_EXPECT macro definition. The file is being committed into the
repository for the purpose of cross-platform compilation.

The Windows config file was copied from an older version of tcmalloc and
must be manually inspected before being used with the new tcmalloc version.

The Android and FreeBSD config files are just stubs and must be generated
by autoconf on those respective platforms before they can be used.

Added windows/mingw.h and windows/port.h to the list of allowed include
rules of the DEPS file in the top tcmalloc dir.

BUG=724399,b:70905156

Change-Id: Ib18197d03824d0e9cca8c1002cedb25363dc8b03
Reviewed-on: https://chromium-review.googlesource.com/1130673
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579602}
[modify] https://crrev.com/354de7165c5ba4cf460c856225c95c62ab997568/third_party/tcmalloc/DEPS
[add] https://crrev.com/354de7165c5ba4cf460c856225c95c62ab997568/third_party/tcmalloc/chromium/src/config.h
[add] https://crrev.com/354de7165c5ba4cf460c856225c95c62ab997568/third_party/tcmalloc/chromium/src/config_android.h
[add] https://crrev.com/354de7165c5ba4cf460c856225c95c62ab997568/third_party/tcmalloc/chromium/src/config_freebsd.h
[add] https://crrev.com/354de7165c5ba4cf460c856225c95c62ab997568/third_party/tcmalloc/chromium/src/config_linux.h
[add] https://crrev.com/354de7165c5ba4cf460c856225c95c62ab997568/third_party/tcmalloc/chromium/src/config_win.h

Project Member

Comment 37 by bugdroid1@chromium.org, Aug 1

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/366c5657caa58e8bb3ef8b840c9d218e74f25967

commit 366c5657caa58e8bb3ef8b840c9d218e74f25967
Author: Gabriel Marin <gmx@chromium.org>
Date: Wed Aug 01 00:28:18 2018

tcmalloc: Add generated gperftools/tcmalloc.h file

The file was generated by autoconf from vendor/gperftools/tcmalloc.h.in,
formatted with 'git cl format', and directly committed to the repository.

BUG=724399,b:70905156

Change-Id: Id94ed5297bb73148b1715b0a77c5da3c2e04b136
Reviewed-on: https://chromium-review.googlesource.com/1130674
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579637}
[add] https://crrev.com/366c5657caa58e8bb3ef8b840c9d218e74f25967/third_party/tcmalloc/chromium/src/gperftools/tcmalloc.h

Project Member

Comment 38 by bugdroid1@chromium.org, Aug 1

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/245e49025395cc09765e19a5eb76b6df7366d0ad

commit 245e49025395cc09765e19a5eb76b6df7366d0ad
Author: Gabriel Marin <gmx@chromium.org>
Date: Wed Aug 01 01:50:11 2018

tcmalloc: Update tcmalloc files in base/allocator/BUILD.gn

Account for file changes in tcmalloc 2.7.

BUG=724399,b:70905156

Change-Id: I7a831684d5ddbd26f9906876e8df2a412a482454
Reviewed-on: https://chromium-review.googlesource.com/1130775
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579664}
[modify] https://crrev.com/245e49025395cc09765e19a5eb76b6df7366d0ad/base/allocator/BUILD.gn

Project Member

Comment 39 by bugdroid1@chromium.org, Aug 1

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ed751be8f19abc031aaffe1141ad910b88403925

commit ed751be8f19abc031aaffe1141ad910b88403925
Author: Mao Huang <littlecvr@chromium.org>
Date: Wed Aug 01 19:54:27 2018

tcmalloc: change the default page size to 4k

Original CL:

- https://chromiumcodereview.appspot.com/9722025

  Fix virtual memory regression from new tcmalloc: use old kPageShift
  and kMaxSize w/ kNumClasses = 54. (retry of r127301)

  BUG=118329
  TEST=perf tests.
  TBR=jar@chromium.org
  Committed:
  https://src.chromium.org/viewvc/chrome?view=rev&revision=127381

BUG=724399,b:70905156

Change-Id: I491bb82db0e94a71dc7c7b2742f9c4ef47b2eca1
Reviewed-on: https://chromium-review.googlesource.com/1130783
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579907}
[modify] https://crrev.com/ed751be8f19abc031aaffe1141ad910b88403925/third_party/tcmalloc/chromium/src/common.h

Project Member

Comment 40 by bugdroid1@chromium.org, Aug 2

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b6b63bd15f9d00bc1b791770c83b51ebe2a9e1e3

commit b6b63bd15f9d00bc1b791770c83b51ebe2a9e1e3
Author: Mao Huang <littlecvr@chromium.org>
Date: Thu Aug 02 21:12:43 2018

tcmalloc: allocator: add use_experimental_allocator_shim build flag

Original CL:

- https://codereview.chromium.org/1678893002

  allocator: add use_experimental_allocator_shim build flag

  This CL introduces a new GYP/GN build flag
  use_experimental_allocator_shim (default: false).  After this CL, the
  only side-effect of that flag is that tcmalloc does not override
  anymore the libc symbols (malloc, new etc.).  This is in preparation
  of a unified shim layer, which will come separately in upcoming CLs,
  which will take care of overriding those symbols in Chrome.

  Design doc: http://bit.ly/allocator-shim

  BUG=550886
  Committed: https://crrev.com/3217078aa86523fb341e0cf2b0c49d55434b534a
  Cr-Commit-Position: refs/heads/master@{#374449}

BUG=724399,b:70905156

Change-Id: Iaa205ec87dc160a2e738cc0d9adfe3c66acb12d9
Reviewed-on: https://chromium-review.googlesource.com/1130785
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Reviewed-by: Primiano Tucci <primiano@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#580319}
[modify] https://crrev.com/b6b63bd15f9d00bc1b791770c83b51ebe2a9e1e3/third_party/tcmalloc/chromium/src/libc_override.h

Project Member

Comment 41 by bugdroid1@chromium.org, Aug 6

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8d157075e09554fd546d20511ae3691f0516aaf6

commit 8d157075e09554fd546d20511ae3691f0516aaf6
Author: Gabriel Marin <gmx@chromium.org>
Date: Mon Aug 06 17:26:34 2018

tcmalloc: Use indirect system calls in the mmap malloc hooks.

sys_{mmap|munmap|mremap}(...) calls are replaced with
syscall(SYS_{mmap|munmap|mremap}, ...), as the former are not allowed
by Chromium's sandbox.

BUG=724399,b:70905156

Change-Id: I04d87567a7c6194a0619140ffd5d4449c73a398b
Reviewed-on: https://chromium-review.googlesource.com/1130786
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#580904}
[modify] https://crrev.com/8d157075e09554fd546d20511ae3691f0516aaf6/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h

Project Member

Comment 42 by bugdroid1@chromium.org, Aug 6

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/dea56ad50549281f7b3fc68a08550e0f231b16ad

commit dea56ad50549281f7b3fc68a08550e0f231b16ad
Author: Mao Huang <littlecvr@chromium.org>
Date: Mon Aug 06 17:51:12 2018

tcmalloc: make the seccomp sandbox compatible with tcmalloc

Original CL:

- https://codereview.chromium.org/1294001

  Fix a few more places where we need to use our own allocator.
  Make tcmalloc compatible with the seccomp sandbox by avoiding making
  direct system calls from within tcmalloc.

  BUG=38973
  TEST=none

  Committed:
  http://src.chromium.org/viewvc/chrome?view=rev&revision=42667

BUG=724399,b:70905156

Change-Id: Idd3d2c4c9cace62e6d5aad32302193e19548e998
Reviewed-on: https://chromium-review.googlesource.com/1130787
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#580915}
[modify] https://crrev.com/dea56ad50549281f7b3fc68a08550e0f231b16ad/third_party/tcmalloc/chromium/src/base/spinlock_linux-inl.h

Project Member

Comment 43 by bugdroid1@chromium.org, Aug 17

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/21061c486397b2b36de139b0980fb569c41c93f3

commit 21061c486397b2b36de139b0980fb569c41c93f3
Author: Mao Huang <littlecvr@chromium.org>
Date: Fri Aug 17 01:38:44 2018

tcmalloc: tcmalloc doubly-linked free-lists for thread caches

Original CLs:

- https://codereview.chromium.org/7671034

  tcmalloc doubly-linked free-lists for thread caches

  Added the ability for free lists to be built out of doubly-linked
  lists in tcalloc. TCMALLOC_USE_DOUBLYLINKED_FREELIST flag must be set
  in order for doubly-linked lists to be used. By default flag is only
  set in Debug builds.

  BUG=None
  TEST=None

- http://codereview.chromium.org/8000001

  Catch some "easy to spot" double frees in TCMalloc

  This will only work when the double frees happen to be
  close enough in time, and both happen on the same thread...
  ...but it should have almost zero cost to do the check.

  r=jschuh
  BUG=75921

- http://codereview.chromium.org/8242017

  Enable TCMalloc doubly-linked freelist in release builds

  BUG=None
  TEST=None

- http://codereview.chromium.org/10262029

  Fix the logging. TCMalloc Log() does not recognize printf formatter.
  It also appends new line automatically.

- https://chromiumcodereview.appspot.com/10944024

  Mask freelist entries in tcmalloc

  The goal here is to prevent freelist spraying in exploits, and as a bonus
  to make UAF fail a bit more early and obviously.

- https://chromiumcodereview.appspot.com/10957067

  Ensure we mask freelist pointers properly on 32-bit Linux

- https://chromiumcodereview.appspot.com/11362046

  Tweak TCMalloc freelist pointer masking

  Previously I wasn't masking NULL freelist pointers because I didn't want
  to potentially leak address information. However, the branch for this is
  a hot point, and the leakage risk is still there for non-NULL known values.

- https://chromiumcodereview.appspot.com/12619004

  Speed up tcmalloc by allowing more inlining.

  Move some small functions in free_list.cc to free_list.h
  to improve the chance of intelligent inlining decisions.

  No functional changes.  This is a performance tuning change.

  From the ChromeOS point of view, this is clearly a good change.
  I didn't try it on Windows, but I suspect it will help there too.
  In any case, it shouldn't hurt.

  Preliminary results for the BloatFile benchmark, for example, are around
  a 3.2% speedup (averaged across a few runs on different platforms).
  I am collecting more data now.

  BUG=111726
  TEST=none

BUG=724399,b:70905156

Change-Id: Ib1fb6f83bb67448eb13606f92ac428cde62c39b7
Reviewed-on: https://chromium-review.googlesource.com/1130784
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#583928}
[modify] https://crrev.com/21061c486397b2b36de139b0980fb569c41c93f3/third_party/tcmalloc/chromium/src/central_freelist.cc
[modify] https://crrev.com/21061c486397b2b36de139b0980fb569c41c93f3/third_party/tcmalloc/chromium/src/common.cc
[modify] https://crrev.com/21061c486397b2b36de139b0980fb569c41c93f3/third_party/tcmalloc/chromium/src/common.h
[add] https://crrev.com/21061c486397b2b36de139b0980fb569c41c93f3/third_party/tcmalloc/chromium/src/free_list.cc
[add] https://crrev.com/21061c486397b2b36de139b0980fb569c41c93f3/third_party/tcmalloc/chromium/src/free_list.h
[modify] https://crrev.com/21061c486397b2b36de139b0980fb569c41c93f3/third_party/tcmalloc/chromium/src/page_heap_allocator.h
[modify] https://crrev.com/21061c486397b2b36de139b0980fb569c41c93f3/third_party/tcmalloc/chromium/src/tcmalloc.cc
[modify] https://crrev.com/21061c486397b2b36de139b0980fb569c41c93f3/third_party/tcmalloc/chromium/src/thread_cache.cc
[modify] https://crrev.com/21061c486397b2b36de139b0980fb569c41c93f3/third_party/tcmalloc/chromium/src/thread_cache.h

Project Member

Comment 44 by bugdroid1@chromium.org, Aug 22

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b9b8c24e7b6cde61cb100ebefcc2738ac77e827c

commit b9b8c24e7b6cde61cb100ebefcc2738ac77e827c
Author: Mao Huang <littlecvr@chromium.org>
Date: Wed Aug 22 00:40:28 2018

tcmalloc: support use of third party time function for about:profiler

Original CL:

- https://chromiumcodereview.appspot.com/9212025

  Support use of third party time function for about:profiler

  This uses TCMalloc to provide a time function, allowing
  us to see how much memory was allocated on a single thread
  during the running of a task.  The alternate time function
  is put in place only when a specific environment variable
  is detected during TCMalloc startup.

  This change currently is activated only in Windows/Linux,
  as it is based on changes TCMalloc (not used on Mac).

  We also create an infrastructure for using any alternate
  timer, to replace the "wall clock time," on a per-thread
  basis, in the about:profiler infrastructure.  That interface
  may be used on other platforms, including scenarios where
  we have a per-thread-CPU-time function to replace the
  wall-clock timer.  In all cases, when this alternate timer
  is activated, we lose the ability to calculated queueing
  time.  Queueing time is based on a time snapshot taken on
  a second thread, and hence is not comparable to the
  alternate timer (when the alternate timer is engaged).

  r=rtenneti
  BUG=103321
  Committed:
  https://src.chromium.org/viewvc/chrome?view=rev&revision=122180

BUG=724399,b:70905156

Change-Id: If2edfa25da30dc05c9ec7f8abf47017d8fce9464
Reviewed-on: https://chromium-review.googlesource.com/1130788
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#584938}
[modify] https://crrev.com/b9b8c24e7b6cde61cb100ebefcc2738ac77e827c/third_party/tcmalloc/chromium/src/tcmalloc.cc
[modify] https://crrev.com/b9b8c24e7b6cde61cb100ebefcc2738ac77e827c/third_party/tcmalloc/chromium/src/thread_cache.cc
[modify] https://crrev.com/b9b8c24e7b6cde61cb100ebefcc2738ac77e827c/third_party/tcmalloc/chromium/src/thread_cache.h

Project Member

Comment 45 by bugdroid1@chromium.org, Aug 23

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/43b6c44f8edda505d81ef9b1e277c823b75db617

commit 43b6c44f8edda505d81ef9b1e277c823b75db617
Author: Gabriel Marin <gmx@chromium.org>
Date: Thu Aug 23 18:31:16 2018

tcmalloc: enable large object pointer offset check

Original CL: https://chromiumcodereview.appspot.com/10391178

  1. Enable large object pointer offset check in release build.
  Following code will now cause a check error:
  char* p = reinterpret_cast<char*>(malloc(kMaxSize + 1));
  free(p + 1);

  2. Remove a duplicated error reporting function "DieFromBadFreePointer",
  can use "InvalidGetAllocatedSize".

BUG=724399,b:70905156

Change-Id: I77b71593373d0c279b95f27cb4931be41c8605b0
Reviewed-on: https://chromium-review.googlesource.com/1184335
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#585555}
[modify] https://crrev.com/43b6c44f8edda505d81ef9b1e277c823b75db617/third_party/tcmalloc/chromium/src/internal_logging.h
[modify] https://crrev.com/43b6c44f8edda505d81ef9b1e277c823b75db617/third_party/tcmalloc/chromium/src/tcmalloc.cc

Project Member

Comment 46 by bugdroid1@chromium.org, Aug 23

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/93604967c25f5e54d5e7d8e94e9f8edf752a7f37

commit 93604967c25f5e54d5e7d8e94e9f8edf752a7f37
Author: Gabriel Marin <gmx@chromium.org>
Date: Thu Aug 23 18:35:26 2018

tcmalloc: restrict maximum size of memory allocations

Original CL: https://chromiumcodereview.appspot.com/11857007

  TCMalloc: restrict maximum size of memory allocations

  For security purposes, we restrict the maximum size of memory
  allocations under what can be indexed by an int.

  BUG=169327
  NOTRY=true

BUG=724399,b:70905156

Change-Id: I530659b9d0f519db1bc70f8d8f5b15537dc1f1b8
Reviewed-on: https://chromium-review.googlesource.com/1184336
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#585558}
[modify] https://crrev.com/93604967c25f5e54d5e7d8e94e9f8edf752a7f37/third_party/tcmalloc/chromium/src/tcmalloc.cc

Project Member

Comment 47 by bugdroid1@chromium.org, Aug 23

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/767d2055806b926dcace19e1f8825977ba464808

commit 767d2055806b926dcace19e1f8825977ba464808
Author: Gabriel Marin <gmx@chromium.org>
Date: Thu Aug 23 21:47:47 2018

tcmalloc: enable doubly-linked lists and disable huge allocations via build file

Moves the macro defines for enabling doubly-linked free lists and for disabling
huge allocations in tcmalloc to the build file. This makes it easier to uprev
tcmalloc from gperftools where these features are implemeneted, but not enabled
by default.

BUG=724399,b:70905156

Change-Id: Ie84407583227baeddeef6bcf5eb9a825dbc6ddd2
Reviewed-on: https://chromium-review.googlesource.com/1187381
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#585623}
[modify] https://crrev.com/767d2055806b926dcace19e1f8825977ba464808/base/allocator/BUILD.gn
[modify] https://crrev.com/767d2055806b926dcace19e1f8825977ba464808/third_party/tcmalloc/chromium/src/free_list.h
[modify] https://crrev.com/767d2055806b926dcace19e1f8825977ba464808/third_party/tcmalloc/chromium/src/tcmalloc.cc
[modify] https://crrev.com/767d2055806b926dcace19e1f8825977ba464808/third_party/tcmalloc/gperftools-2.0/chromium/src/free_list.h

Project Member

Comment 48 by bugdroid1@chromium.org, Aug 23

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/748aa79fbcb880ab33b2dcaef0c0a6274a934789

commit 748aa79fbcb880ab33b2dcaef0c0a6274a934789
Author: Mao Huang <littlecvr@chromium.org>
Date: Thu Aug 23 22:22:16 2018

tcmalloc: add run-time CHECK to smoke-test allocator overrides

Original CL:

- https://codereview.chromium.org/1577883002

  Add run-time CHECK to smoke-test allocator overrides

  As part of the refactoring work on the allocator, it emerged that it
  would be nice to have a test that ensures that we don't accidentally
  break things along the way and not detected that.
  This CL adds a runtime CHECK() that verifies that:
   - On Windows (non-component build) the shim layer has been
     initialized. Concretely this checks that chrome called the shimmed
     _heap_init() method and not the one from libcmt.
   - On Linux desktop, the malloc symbols are being overridden by
     tcmalloc (only when USE_TCMALLOC is defined).

  The rationale of this test is: if _heap_init was shimmed there are
  very good chances that malloc (& friends) were shimmed as well.
  Likewise on Linux for mallopt() <-> malloc().

  BUG=564618
  Committed: https://crrev.com/be9d6fce01061afde845fd7aa2335e5757d6a421
  Cr-Commit-Position: refs/heads/master@{#369007}

BUG=724399,b:70905156

Change-Id: I047ac19bb71346fbf601825d335bd97729b9f688
Reviewed-on: https://chromium-review.googlesource.com/1130793
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#585633}
[modify] https://crrev.com/748aa79fbcb880ab33b2dcaef0c0a6274a934789/third_party/tcmalloc/chromium/src/gperftools/tcmalloc.h
[modify] https://crrev.com/748aa79fbcb880ab33b2dcaef0c0a6274a934789/third_party/tcmalloc/chromium/src/tcmalloc.cc

Project Member

Comment 49 by bugdroid1@chromium.org, Aug 24

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/27ebd00bcd3c6095c3626526cec2b7f438965757

commit 27ebd00bcd3c6095c3626526cec2b7f438965757
Author: Mao Huang <littlecvr@chromium.org>
Date: Fri Aug 24 21:22:45 2018

tcmalloc: support userland ASLR on Linux and Chrome OS

Original CLs:

- https://chromiumcodereview.appspot.com/12093035

  TCMalloc: support userland ASLR on Linux and Chrome OS

  On Linux and Chrome OS, we implement user-land ASLR in TCMalloc
  on 64 bits Intel architecture.

  In this configuration, we are not constrained by the address space
  and we don't mind fragmentation.
  But to be on the safe side, we only ever fragment half of the
  address space.

  BUG=170133
  NOTRY=true

  Committed:
  https://src.chromium.org/viewvc/chrome?view=rev&revision=179776

- https://chromiumcodereview.appspot.com/12192024

  Linux: grow a unique random mapping in ASLR

  We loosen ASLR by only growing one random mapping. The previous
  version
  had security benefits but had a negative performance impact.
  This change aims to be performance neutral in respect to the pre-ASLR
  era.
  At a later date, we may try to strike a good balance between
  performance and
  security.

  This is a re-land of https://chromiumcodereview.appspot.com/12090112/

  BUG=170133, 173371
  NOTRY=true
  TBR=jar

  Committed:
  https://src.chromium.org/viewvc/chrome?view=rev&revision=180556

- https://codereview.chromium.org/237673002

  remove redundant ifdefs

  OS_CHROMEOS implies OS_LINUX, so OS_LINUX || OS_CHROMEOS can be
  simplified to OS_LINUX

  BUG=none

  Committed:
  https://src.chromium.org/viewvc/chrome?view=rev&revision=263993

BUG=724399,b:70905156

Change-Id: Ic9da3524439312252f0f14d4c55ad882d67ebfed
Reviewed-on: https://chromium-review.googlesource.com/1130791
Reviewed-by: Will Harris <wfh@chromium.org>
Reviewed-by: Chris Palmer <palmer@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#585993}
[modify] https://crrev.com/27ebd00bcd3c6095c3626526cec2b7f438965757/third_party/tcmalloc/chromium/src/system-alloc.cc

Project Member

Comment 50 by bugdroid1@chromium.org, Aug 27

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/67e51fc88b67211901082b7ddbfc13f9b14a520b

commit 67e51fc88b67211901082b7ddbfc13f9b14a520b
Author: Gabriel Marin <gmx@chromium.org>
Date: Mon Aug 27 22:06:52 2018

tcmalloc: Use aggressive decommit by default.

Optimize for memory use instead of performance, to achieve parity with
the old version of tcmalloc.

BUG=724399,b:70905156

Change-Id: I11cf263b8c9595b260bf2046ab9593c2b8f66a00
Reviewed-on: https://chromium-review.googlesource.com/1130812
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#586439}
[modify] https://crrev.com/67e51fc88b67211901082b7ddbfc13f9b14a520b/third_party/tcmalloc/chromium/src/static_vars.cc

Project Member

Comment 51 by bugdroid1@chromium.org, Aug 27

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9ac16e67c221a1123fd3b867aa16cffdfd510de4

commit 9ac16e67c221a1123fd3b867aa16cffdfd510de4
Author: Gabriel Marin <gmx@chromium.org>
Date: Mon Aug 27 22:20:10 2018

tcmalloc: use standard-conforming alignof in debugallocation.cc

Copy recent fix from upstream gperftools:

- https://github.com/gperftools/gperftools/commit/c41688bf20186723367b560ceb539b2330951ddb

  Use standard-conforming alignof in debugallocation.cc

  Clang was giving warning that alignof(<variable>) is extension. So
  we're now doing alignof of decltype.

BUG=724399,b:70905156

Change-Id: I6d728515dbff8b4f130c0e602a150de67b2ad1ba
Reviewed-on: https://chromium-review.googlesource.com/1189130
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#586447}
[modify] https://crrev.com/9ac16e67c221a1123fd3b867aa16cffdfd510de4/third_party/tcmalloc/chromium/src/debugallocation.cc

Project Member

Comment 52 by bugdroid1@chromium.org, Aug 31

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5ca6a22ad7025a30cf670d6828ea6b33b3d0e418

commit 5ca6a22ad7025a30cf670d6828ea6b33b3d0e418
Author: Gabriel Marin <gmx@chromium.org>
Date: Fri Aug 31 22:45:19 2018

tcmalloc: fix bookkeeping of span free objects

After fetching objects from a span, reset the previous field of the first
remaining object in the span.
Debug builds perform extra sanity checks on the state of the tcmalloc
metadata, which is causing them to fail without this fix.

BUG=724399,b:70905156

Change-Id: I33ad3097d13756d36032edde538ee87b09a1a4ee
Reviewed-on: https://chromium-review.googlesource.com/1195092
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588193}
[modify] https://crrev.com/5ca6a22ad7025a30cf670d6828ea6b33b3d0e418/third_party/tcmalloc/chromium/src/central_freelist.cc

Project Member

Comment 53 by bugdroid1@chromium.org, Aug 31

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/542c2443219618f7aee27f2ff28029af82180819

commit 542c2443219618f7aee27f2ff28029af82180819
Author: Gabriel Marin <gmx@chromium.org>
Date: Fri Aug 31 23:04:38 2018

tcmalloc: export SetPrevious and SetNext APIs for singly linked free lists

These APIs are used by the central cache. Their absence in the exported API
of the singly linked list implementation was not noticed because doubly
linked lists are enabled for all Chromium builds.

BUG=724399,b:70905156

Change-Id: I0187789eb416ce751aa1a369ea96c0d317d3702a
Reviewed-on: https://chromium-review.googlesource.com/1195093
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588200}
[modify] https://crrev.com/542c2443219618f7aee27f2ff28029af82180819/third_party/tcmalloc/chromium/src/free_list.h

Project Member

Comment 54 by bugdroid1@chromium.org, Sep 24

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/088d0dabd7feb2b9d0a707afd7cea0d4c094c378

commit 088d0dabd7feb2b9d0a707afd7cea0d4c094c378
Author: Gabriel Marin <gmx@chromium.org>
Date: Mon Sep 24 19:39:54 2018

Remove shadow stack references

Remove references to shadow stacks from the profiling documentation and
from the shutdown signal handler.
The only remaining references are in the old tcmalloc implementation, which
will eventually be removed.

BUG=724399,b:70905156

Change-Id: I2b1a854dc2eb081ec9bfb5401fc2c5ebd1860c4e
Reviewed-on: https://chromium-review.googlesource.com/1239442
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Alexander Potapenko <glider@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#593639}
[modify] https://crrev.com/088d0dabd7feb2b9d0a707afd7cea0d4c094c378/chrome/app/shutdown_signal_handlers_posix.cc

Project Member

Comment 55 by bugdroid1@chromium.org, Oct 1

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ec6d08fab91778cfd690913986e72422701a1968

commit ec6d08fab91778cfd690913986e72422701a1968
Author: Gabriel Marin <gmx@chromium.org>
Date: Mon Oct 01 23:39:08 2018

tcmalloc: GTTF: cherry-pick memalign/realloc mismatch debug code

Original CL:

- https://codereview.chromium.org/11823061

  GTTF: cherry-pick memalign/realloc mismatch debug code

  Especially ffmpeg may be prone to errors in this area.

  Googlers: see b/1397952 for reference.

  BUG=30715
  Committed:
  https://src.chromium.org/viewvc/chrome?view=rev&revision=177171

BUG=724399,b:70905156

Change-Id: Iac78c1c49014a0454eacb651f549001e76c0cf93
Reviewed-on: https://chromium-review.googlesource.com/1130799
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595638}
[modify] https://crrev.com/ec6d08fab91778cfd690913986e72422701a1968/third_party/tcmalloc/chromium/src/debugallocation.cc

Project Member

Comment 56 by bugdroid1@chromium.org, Oct 2

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/22d691ec9f38a77c7ecbee9363c7f44663824baf

commit 22d691ec9f38a77c7ecbee9363c7f44663824baf
Author: Gabriel Marin <gmx@chromium.org>
Date: Tue Oct 02 21:11:39 2018

tcmalloc: add a guard page in front of metadata allocations

Based on original CL:
- https://codereview.chromium.org/8570023

  Add a guard page in front of metadata allocations.

  BUG=104752
  Committed:
  http://src.chromium.org/viewvc/chrome?view=rev&revision=112260

Code has been modified to create the guard page inside MetaDataAlloc,
once per 8MB chunk.

BUG=724399,b:70905156

Change-Id: I527fbfe5e258cc052e205d01bfe2dd30e21b9f13
Reviewed-on: https://chromium-review.googlesource.com/c/1130794
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595983}
[modify] https://crrev.com/22d691ec9f38a77c7ecbee9363c7f44663824baf/third_party/tcmalloc/chromium/src/common.cc
[modify] https://crrev.com/22d691ec9f38a77c7ecbee9363c7f44663824baf/third_party/tcmalloc/chromium/src/common.h
[modify] https://crrev.com/22d691ec9f38a77c7ecbee9363c7f44663824baf/third_party/tcmalloc/chromium/src/system-alloc.cc
[modify] https://crrev.com/22d691ec9f38a77c7ecbee9363c7f44663824baf/third_party/tcmalloc/chromium/src/system-alloc.h

Project Member

Comment 57 by bugdroid1@chromium.org, Oct 3

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d467a6a943d7af4f63bea2c350e1cad1dac05489

commit d467a6a943d7af4f63bea2c350e1cad1dac05489
Author: Gabriel Marin <gmx@chromium.org>
Date: Wed Oct 03 18:15:16 2018

tcmalloc: Add generic.total_physical_bytes property to MallocExtension

Original CL:

- https://codereview.chromium.org/1410353005

  Add generic.total_physical_bytes property to MallocExtension

  The actual physical memory usage of tcmalloc cannot be obtained by
  GetNumericProperty. This accounts for the current_allocated_bytes,
  fragmentation and malloc metadata, and excludes the unmapped memory
  regions. This helps the user to understand how much memory is actually
  being used for the allocations that were made.

  This change is done only in chromium tree since the
  metadata_unmapped_bytes is added only in the chromium's tcmalloc in
  CL: www.crrev.com/10499004.

  This is to be used by malloc dump provider for tracing.

  BUG=546491
  Committed: https://crrev.com/0752ec9c6adf641985db1a3a224bf9b8e32e4ac8
  Cr-Commit-Position: refs/heads/master@{#357155}

BUG=724399,b:70905156

Change-Id: I68ae586aacf2f2c1ab09721716b9093d402d649c
Reviewed-on: https://chromium-review.googlesource.com/1130803
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#596287}
[modify] https://crrev.com/d467a6a943d7af4f63bea2c350e1cad1dac05489/third_party/tcmalloc/chromium/src/gperftools/malloc_extension.h
[modify] https://crrev.com/d467a6a943d7af4f63bea2c350e1cad1dac05489/third_party/tcmalloc/chromium/src/tcmalloc.cc

Project Member

Comment 58 by bugdroid1@chromium.org, Oct 4

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a427548aa172d8893b1e49980d539ddd606bf43f

commit a427548aa172d8893b1e49980d539ddd606bf43f
Author: Gabriel Marin <gmx@chromium.org>
Date: Thu Oct 04 22:52:35 2018

tcmalloc: Fix mmap region iteration while no regions are recorded.

Original CL:

- https://codereview.chromium.org/14769008

  Fix mmap region iteration while no regions are recorded.

  If no mmap regions are recorded, iteration failed since the RegionSet
  (std::set) object is not initialized.

  BUG=162208
  R=willchan@chromium.org

  Committed:
  https://src.chromium.org/viewvc/chrome?view=rev&revision=198878

BUG=724399,b:70905156

Change-Id: I9659e486e5be89e6c36bcdf83d794dee3295e91b
Reviewed-on: https://chromium-review.googlesource.com/c/1130807
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#596896}
[modify] https://crrev.com/a427548aa172d8893b1e49980d539ddd606bf43f/third_party/tcmalloc/chromium/src/memory_region_map.cc
[modify] https://crrev.com/a427548aa172d8893b1e49980d539ddd606bf43f/third_party/tcmalloc/chromium/src/memory_region_map.h

Project Member

Comment 59 by bugdroid1@chromium.org, Oct 5

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/da34dba0a10d0a251d3e4d34589e10ca9a51f162

commit da34dba0a10d0a251d3e4d34589e10ca9a51f162
Author: Gabriel Marin <gmx@chromium.org>
Date: Fri Oct 05 20:14:44 2018

tcmalloc: Honor HEAPPROFILE envvar only in profiling=1 builds.

Original CL:

- https://codereview.chromium.org/295583002

  tcmalloc: Honor HEAPPROFILE envvar only in profiling=1 builds.

  Several systems in chromium (about:tracing, some code in blink) use
  tcmalloc's heap profiler, so keep most of it around.  Do disable
  support for the HEAPPROFILE envvar, and for the exit-time dump to
  "Exiting" (unless in profiling=1 builds), as that causes a static
  initializer.

  BUG=94925
  R=willchan@chromium.org

  Committed:
  https://src.chromium.org/viewvc/chrome?view=rev&revision=271415

BUG=724399,b:70905156

Change-Id: Ib80ec045a2cdadb714bd1f9c3daab2c63be9874b
Reviewed-on: https://chromium-review.googlesource.com/c/1130806
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#597263}
[modify] https://crrev.com/da34dba0a10d0a251d3e4d34589e10ca9a51f162/third_party/tcmalloc/chromium/src/heap-profiler.cc

Project Member

Comment 60 by bugdroid1@chromium.org, Oct 5

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/bdf3a038f3def4629fe14c5b47520cacb5cc7491

commit bdf3a038f3def4629fe14c5b47520cacb5cc7491
Author: Gabriel Marin <gmx@chromium.org>
Date: Fri Oct 05 21:47:31 2018

tcmalloc: Decrease the kHashbits to 12 effectively restoring the pre-r89459 size

Original CL:

- https://codereview.chromium.org/7200028

  Decrease the kHashbits to 12 effectively restoring the pre-r89459 size
  of the page heap.

  TBR=antonm
  TEST=VM usage drops on the perf bots
  Committed:
  http://src.chromium.org/viewvc/chrome?view=rev&revision=89670

BUG=724399,b:70905156

Change-Id: Id0eedab1c33b53e47970561547f75c440f5d9ea1
Reviewed-on: https://chromium-review.googlesource.com/c/1130808
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#597319}
[modify] https://crrev.com/bdf3a038f3def4629fe14c5b47520cacb5cc7491/third_party/tcmalloc/chromium/src/packed-cache-inl.h

Project Member

Comment 61 by bugdroid1@chromium.org, Oct 5

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/147e7d6aeff71fe61585a62738ab48f164c3f7c7

commit 147e7d6aeff71fe61585a62738ab48f164c3f7c7
Author: Gabriel Marin <gmx@chromium.org>
Date: Fri Oct 05 21:49:50 2018

tcmalloc: return early in WriteProfile to reduce indentation

Small code refactoring to reduce indentation. This change was originally
part of https://codereview.chromium.org/9963095.

BUG=724399,b:70905156

Change-Id: Id9d13559380f7c62653b03723cb13de3aeb96074
Reviewed-on: https://chromium-review.googlesource.com/c/1130804
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#597321}
[modify] https://crrev.com/147e7d6aeff71fe61585a62738ab48f164c3f7c7/third_party/tcmalloc/chromium/src/heap-profile-table.cc

Project Member

Comment 62 by bugdroid1@chromium.org, Oct 5

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/23cfafada4358564ce4861fa49c63e25463d14e3

commit 23cfafada4358564ce4861fa49c63e25463d14e3
Author: Gabriel Marin <gmx@chromium.org>
Date: Fri Oct 05 22:00:33 2018

tcmalloc: Make some tcmalloc constants truly const.

Original CL:

- https://chromium-review.googlesource.com/c/chromium/src/+/777963

  Make some tcmalloc constants truly const.

  Change-Id: I84e036d5c71373ce3572d4b67b06fcadb25bb347
  Reviewed-on: https://chromium-review.googlesource.com/777963
  Commit-Queue: Lei Zhang <thestig@chromium.org>
  Reviewed-by: Will Harris <wfh@chromium.org>
  Cr-Commit-Position: refs/heads/master@{#517642}

BUG=724399,b:70905156

Change-Id: I21e732e8001eeea57b7fea95cc9ec6df21f12dea
Reviewed-on: https://chromium-review.googlesource.com/c/1130809
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#597329}
[modify] https://crrev.com/23cfafada4358564ce4861fa49c63e25463d14e3/third_party/tcmalloc/chromium/src/tcmalloc.cc

Project Member

Comment 63 by bugdroid1@chromium.org, Oct 9

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/57ff2187bc8cae39753837100bc96b92a230eb3d

commit 57ff2187bc8cae39753837100bc96b92a230eb3d
Author: Mao Huang <littlecvr@chromium.org>
Date: Tue Oct 09 17:25:22 2018

tcmalloc: tiny commits gathered

These are tiny commits that can be reviewed together.

Original CLs:

- https://codereview.chromium.org/550011

  Increase the size of buffer used by LogPrintf to 1600 bytes.
  600 bytes is not enough to print full symbolized stacks of the memory
  leaks.

  TBR=willchan

- https://codereview.chromium.org/257453002

  Fix tc_malloc_skip_new_handler to work together with heap profiler

  Need to be in google_malloc section just like every other alloc
  function.

  R=willchan@chromium.org

  BUG=364380

- https://codereview.chromium.org/2793793002

  Fix -Wshift-negative-value transgression in tcmalloc.

  BUG=706476

BUG=724399,b:70905156

Change-Id: I842770683233808c3a84d1bf3557db6f8e5e6f99
Reviewed-on: https://chromium-review.googlesource.com/c/1130810
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#597974}
[modify] https://crrev.com/57ff2187bc8cae39753837100bc96b92a230eb3d/third_party/tcmalloc/chromium/src/base/basictypes.h
[modify] https://crrev.com/57ff2187bc8cae39753837100bc96b92a230eb3d/third_party/tcmalloc/chromium/src/base/logging.h
[modify] https://crrev.com/57ff2187bc8cae39753837100bc96b92a230eb3d/third_party/tcmalloc/chromium/src/tcmalloc.cc

Project Member

Comment 64 by bugdroid1@chromium.org, Oct 9

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7f8affc6e771fb6ab0c29fda87491adb06669b3f

commit 7f8affc6e771fb6ab0c29fda87491adb06669b3f
Author: Gabriel Marin <gmx@chromium.org>
Date: Tue Oct 09 18:56:21 2018

tcmalloc: Always use a 3 level page map on 64-bit systems.

The memory.desktop benchmark results show a measurable increase in memory
use with a 2-level page map, while no statistically significant performance
gains could be measured by the crosbolt performance tests.

BUG=724399,b:70905156

Change-Id: I566d476851e3d0c964c5f219e4a8277f91a5cbb3
Reviewed-on: https://chromium-review.googlesource.com/c/1130813
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#598012}
[modify] https://crrev.com/7f8affc6e771fb6ab0c29fda87491adb06669b3f/third_party/tcmalloc/chromium/src/page_heap.h

Project Member

Comment 65 by bugdroid1@chromium.org, Oct 12

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/chromite/+/d23bbdb87b57cdb8183c38e2900abd5ccdc3ae37

commit d23bbdb87b57cdb8183c38e2900abd5ccdc3ae37
Author: Gabriel Marin <gmx@chromium.org>
Date: Fri Oct 12 00:12:15 2018

kip: enable new tcmalloc

We are upreving tcmalloc in Chromium to the latest gperftools version (2.7).
Enable the new tcmalloc version on kip.

BUG=chromium:724399,b:70905156
TEST=none; tryjob pending

Change-Id: I06b9984b72042565db284658bd923d9a71bcc8d6
Reviewed-on: https://chromium-review.googlesource.com/1275346
Commit-Ready: Gabriel Marin <gmx@chromium.org>
Tested-by: Gabriel Marin <gmx@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Gabriel Marin <gmx@chromium.org>

[modify] https://crrev.com/d23bbdb87b57cdb8183c38e2900abd5ccdc3ae37/config/chromeos_config.py
[modify] https://crrev.com/d23bbdb87b57cdb8183c38e2900abd5ccdc3ae37/config/config_dump.json

Project Member

Comment 66 by bugdroid1@chromium.org, Oct 12

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/9f2458e24c154763ec3095ba349844c3930733d6

commit 9f2458e24c154763ec3095ba349844c3930733d6
Author: Gabriel Marin <gmx@chromium.org>
Date: Fri Oct 12 00:33:53 2018

chromeos-chrome: pass use_new_tcmalloc to gn files

As part of upreving tcmalloc in Chromium, we want to enable the new tcmalloc
version on a small subset of boards to understand its performance in the
field. If everything goes well, we will enable it fleet wide.

The Chromium gn build flag "use_new_tcmalloc" specifies if the new version
is used.

BUG=chromium:724399,b:70905156
TEST="ebuild-<board> chromeos-chrome-9999.ebuild compile" and
"USE=new_tcmalloc ebuild-lars chromeos-chrome-9999.ebuild compile" pass.

Change-Id: Ife66049b12fc216f81f8abc56f1f253d0397de0a
Reviewed-on: https://chromium-review.googlesource.com/1274173
Commit-Ready: Gabriel Marin <gmx@chromium.org>
Tested-by: Gabriel Marin <gmx@chromium.org>
Reviewed-by: Gabriel Marin <gmx@chromium.org>
Reviewed-by: Luis Lozano <llozano@chromium.org>

[modify] https://crrev.com/9f2458e24c154763ec3095ba349844c3930733d6/chromeos-base/chromeos-chrome/chromeos-chrome-9999.ebuild

Project Member

Comment 67 by bugdroid1@chromium.org, Oct 12

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/chromite/+/f9da224859f3aad65b28830093bc6f3c8e719809

commit f9da224859f3aad65b28830093bc6f3c8e719809
Author: Gabriel Marin <gmx@chromium.org>
Date: Fri Oct 12 17:17:23 2018

elm: enable new tcmalloc

We are upreving tcmalloc in Chromium to the latest gperftools version (2.7).
Enable the new tcmalloc version on elm.

BUG=chromium:724399,b:70905156
TEST=none; tryjob pending

Change-Id: I9091abb731763418e28ba3e4956cf10c0690b668
Reviewed-on: https://chromium-review.googlesource.com/1275347
Commit-Ready: Gabriel Marin <gmx@chromium.org>
Tested-by: Gabriel Marin <gmx@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>

[modify] https://crrev.com/f9da224859f3aad65b28830093bc6f3c8e719809/config/chromeos_config.py
[modify] https://crrev.com/f9da224859f3aad65b28830093bc6f3c8e719809/config/config_dump.json

Project Member

Comment 68 by bugdroid1@chromium.org, Oct 12

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/chromite/+/5e75798b39bbac493663ba5c95e72c12798c91a6

commit 5e75798b39bbac493663ba5c95e72c12798c91a6
Author: Gabriel Marin <gmx@chromium.org>
Date: Fri Oct 12 17:26:26 2018

minnie: enable new tcmalloc

We are upreving tcmalloc in Chromium to the latest gperftools version (2.7).
Enable the new tcmalloc version on minnie.

BUG=chromium:724399,b:70905156
TEST=none; tryjob pending

Change-Id: Id450c49d0da847b8d0f71ed44529a7addeab22d0
Reviewed-on: https://chromium-review.googlesource.com/1275348
Commit-Ready: Gabriel Marin <gmx@chromium.org>
Tested-by: Gabriel Marin <gmx@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>

[modify] https://crrev.com/5e75798b39bbac493663ba5c95e72c12798c91a6/config/chromeos_config.py
[modify] https://crrev.com/5e75798b39bbac493663ba5c95e72c12798c91a6/config/config_dump.json

📍 Job complete. See results below.
https://pinpoint-dot-chromeperf.appspot.com/job/136c6466e40000
Project Member

Comment 71 by bugdroid1@chromium.org, Oct 26

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4572662a7f5f7f721dffe8244ea523248e36dbab

commit 4572662a7f5f7f721dffe8244ea523248e36dbab
Author: Gabriel Marin <gmx@chromium.org>
Date: Fri Oct 26 18:04:23 2018

tcmalloc: adjust default memory release parameters

Makes the default and max release delays equal to the older values
used in Chromium, to reduce memory use.

BUG=724399,b:118386135

Change-Id: I651d5542c541b7e0e3a44b16b6c5800a4f7f9e1e
Reviewed-on: https://chromium-review.googlesource.com/c/1298339
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#603145}
[modify] https://crrev.com/4572662a7f5f7f721dffe8244ea523248e36dbab/third_party/tcmalloc/chromium/src/page_heap.h

📍 Job complete. See results below.
https://pinpoint-dot-chromeperf.appspot.com/job/10f72639e40000
📍 Job complete. See results below.
https://pinpoint-dot-chromeperf.appspot.com/job/1665150ee40000
Labels: Merge-Request-71
merge request for 4572662a7f5f7f721dffe8244ea523248e36dbab to m71 as this is needed for further dev work on chromeos.
Project Member

Comment 77 by sheriffbot@chromium.org, Oct 31

Labels: -Merge-Request-71 Hotlist-Merge-Review Merge-Review-71
This bug requires manual review: DEPS changes referenced in bugdroid comments.
Please contact the milestone owner if you have questions.
Owners: benmason@(Android), kariahda@(iOS), kbleicher@(ChromeOS), govind@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Pri-3 OS-Linux Pri-2
N.B. This was previously approved for merge to M71 in b/118386135#comment11
Labels: -Merge-Review-71 Merge-Approved-71
Approving merge to M71 branch 3578 per comment #76, #79 and per offline chat with wfh@. 
Project Member

Comment 81 by bugdroid1@chromium.org, Oct 31

Labels: -merge-approved-71 merge-merged-3578
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/597401153b474d96f27c515b9ad2466ee1e84918

commit 597401153b474d96f27c515b9ad2466ee1e84918
Author: Gabriel Marin <gmx@chromium.org>
Date: Wed Oct 31 17:30:23 2018

tcmalloc: adjust default memory release parameters

Makes the default and max release delays equal to the older values
used in Chromium, to reduce memory use.

BUG=724399,b:118386135

Change-Id: I651d5542c541b7e0e3a44b16b6c5800a4f7f9e1e
Reviewed-on: https://chromium-review.googlesource.com/c/1298339
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#603145}(cherry picked from commit 4572662a7f5f7f721dffe8244ea523248e36dbab)
Reviewed-on: https://chromium-review.googlesource.com/c/1310493
Cr-Commit-Position: refs/branch-heads/3578@{#433}
Cr-Branched-From: 4226ddf99103e493d7afb23a4c7902ee496108b6-refs/heads/master@{#599034}
[modify] https://crrev.com/597401153b474d96f27c515b9ad2466ee1e84918/third_party/tcmalloc/chromium/src/page_heap.h

Labels: Merge-Merged-71-3578
The following revision refers to this bug: 
https://chromium.googlesource.com/chromium/src.git/+/597401153b474d96f27c515b9ad2466ee1e84918

Commit: 597401153b474d96f27c515b9ad2466ee1e84918
Author: gmx@chromium.org
Commiter: wfh@chromium.org
Date: 2018-10-31 17:30:23 +0000 UTC

tcmalloc: adjust default memory release parameters

Makes the default and max release delays equal to the older values
used in Chromium, to reduce memory use.

BUG=724399,b:118386135

Change-Id: I651d5542c541b7e0e3a44b16b6c5800a4f7f9e1e
Reviewed-on: https://chromium-review.googlesource.com/c/1298339
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#603145}(cherry picked from commit 4572662a7f5f7f721dffe8244ea523248e36dbab)
Reviewed-on: https://chromium-review.googlesource.com/c/1310493
Cr-Commit-Position: refs/branch-heads/3578@{#433}
Cr-Branched-From: 4226ddf99103e493d7afb23a4c7902ee496108b6-refs/heads/master@{#599034}
Project Member

Comment 83 by bugdroid1@chromium.org, Nov 3

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f7c11345ee40e3c8a4f281cbf82295ca5231d118

commit f7c11345ee40e3c8a4f281cbf82295ca5231d118
Author: Will Harris <wfh@chromium.org>
Date: Sat Nov 03 00:20:29 2018

Use new tcmalloc on Linux builds by default.

This changes the default version of tcmalloc used by Chrome on Linux
from a modified tcmalloc 2.0 to a modified tcmalloc 2.7.

See discussion at http://shortn/_db7vovHkbm for benchmarks and analysis.

BUG=724399

Change-Id: I75b89fcb0e22c2ca627634a6581c937608f4ce6f
Reviewed-on: https://chromium-review.googlesource.com/c/1278949
Commit-Queue: Will Harris <wfh@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#605104}
[modify] https://crrev.com/f7c11345ee40e3c8a4f281cbf82295ca5231d118/build/config/allocator.gni

Project Member

Comment 84 by bugdroid1@chromium.org, Nov 5

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d21cc3cd0d40179a82ae76d096913e90814bcabe

commit d21cc3cd0d40179a82ae76d096913e90814bcabe
Author: Kunihiko Sakamoto <ksakamoto@chromium.org>
Date: Mon Nov 05 01:59:55 2018

Revert "Use new tcmalloc on Linux builds by default."

This reverts commit f7c11345ee40e3c8a4f281cbf82295ca5231d118.

Reason for revert: suspected of causing sizes failure on linux-rel build bot.
https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/linux-rel/9414

Original change's description:
> Use new tcmalloc on Linux builds by default.
>
> This changes the default version of tcmalloc used by Chrome on Linux
> from a modified tcmalloc 2.0 to a modified tcmalloc 2.7.
>
> See discussion at http://shortn/_db7vovHkbm for benchmarks and analysis.
>
> BUG=724399
>
> Change-Id: I75b89fcb0e22c2ca627634a6581c937608f4ce6f
> Reviewed-on: https://chromium-review.googlesource.com/c/1278949
> Commit-Queue: Will Harris <wfh@chromium.org>
> Reviewed-by: Scott Graham <scottmg@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#605104}

TBR=scottmg@chromium.org,wfh@chromium.org,gmx@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 724399
Change-Id: I87bb7d8c826207d6cad159efc4c26e8c88707135
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/1316950
Commit-Queue: Kunihiko Sakamoto <ksakamoto@chromium.org>
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#605228}
[modify] https://crrev.com/d21cc3cd0d40179a82ae76d096913e90814bcabe/build/config/allocator.gni

Sign in to add a comment