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

Issue 576001: Merged third_party/tcmalloc/vendor/src(google-perftools r87) into... (Closed)

Created:
10 years, 10 months ago by Alexander Potapenko
Modified:
9 years, 6 months ago
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, pam+watch_chromium.org, brettw+cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Merged third_party/tcmalloc/vendor/src(google-perftools r87) into third_party/tcmalloc/chromium/src. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=41938 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=41950

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 3

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Patch Set 14 : '' #

Total comments: 31

Patch Set 15 : '' #

Patch Set 16 : '' #

Total comments: 30

Patch Set 17 : '' #

Patch Set 18 : '' #

Total comments: 1

Patch Set 19 : '' #

Patch Set 20 : '' #

Patch Set 21 : '' #

Patch Set 22 : '' #

Total comments: 4

Patch Set 23 : '' #

Patch Set 24 : Removed the unnecessary printf and ASSERT(0) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2168 lines, -831 lines) Patch
M base/allocator/allocator.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 4 chunks +2 lines, -20 lines 0 comments Download
M third_party/tcmalloc/chromium/src/base/basictypes.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +22 lines, -8 lines 0 comments Download
M third_party/tcmalloc/chromium/src/base/dynamic_annotations.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +11 lines, -3 lines 0 comments Download
M third_party/tcmalloc/chromium/src/base/logging.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +10 lines, -1 line 0 comments Download
M third_party/tcmalloc/chromium/src/base/low_level_alloc.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +14 lines, -8 lines 0 comments Download
M third_party/tcmalloc/chromium/src/base/low_level_alloc.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 9 chunks +74 lines, -15 lines 0 comments Download
M third_party/tcmalloc/chromium/src/base/spinlock.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -1 line 0 comments Download
M third_party/tcmalloc/chromium/src/base/sysinfo.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/base/sysinfo.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 8 chunks +99 lines, -29 lines 0 comments Download
M third_party/tcmalloc/chromium/src/config.h.in View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/debugallocation.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 4 chunks +32 lines, -21 lines 0 comments Download
MM third_party/tcmalloc/chromium/src/google/heap-checker.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +5 lines, -3 lines 0 comments Download
M third_party/tcmalloc/chromium/src/google/malloc_extension.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 6 chunks +63 lines, -10 lines 0 comments Download
M third_party/tcmalloc/chromium/src/google/malloc_extension_c.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/google/malloc_hook.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/google/tcmalloc.h.in View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/heap-checker.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +6 lines, -5 lines 0 comments Download
M third_party/tcmalloc/chromium/src/heap-profile-table.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -1 line 0 comments Download
M third_party/tcmalloc/chromium/src/heap-profile-table.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +5 lines, -11 lines 0 comments Download
M third_party/tcmalloc/chromium/src/malloc_extension.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +10 lines, -1 line 0 comments Download
M third_party/tcmalloc/chromium/src/malloc_hook.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +25 lines, -3 lines 0 comments Download
M third_party/tcmalloc/chromium/src/memfs_malloc.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +7 lines, -2 lines 0 comments Download
M third_party/tcmalloc/chromium/src/memory_region_map.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/tcmalloc/chromium/src/packed-cache-inl.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/page_heap.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 9 chunks +65 lines, -37 lines 0 comments Download
M third_party/tcmalloc/chromium/src/page_heap.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 17 chunks +149 lines, -97 lines 0 comments Download
M third_party/tcmalloc/chromium/src/pagemap.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 4 chunks +61 lines, -1 line 0 comments Download
M third_party/tcmalloc/chromium/src/pprof View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 29 chunks +279 lines, -138 lines 0 comments Download
M third_party/tcmalloc/chromium/src/profile-handler.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 8 chunks +21 lines, -13 lines 0 comments Download
M third_party/tcmalloc/chromium/src/profiledata.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -1 line 0 comments Download
A third_party/tcmalloc/chromium/src/solaris/libstdc++.la View 1 2 3 4 5 6 7 8 1 chunk +51 lines, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/stacktrace_config.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +2 lines, -11 lines 0 comments Download
M third_party/tcmalloc/chromium/src/stacktrace_x86-inl.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/symbolize.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +39 lines, -7 lines 0 comments Download
M third_party/tcmalloc/chromium/src/symbolize.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 4 chunks +45 lines, -33 lines 0 comments Download
A third_party/tcmalloc/chromium/src/tcmalloc.h View 1 chunk +69 lines, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/tcmalloc.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 30 chunks +300 lines, -105 lines 0 comments Download
M third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 8 chunks +63 lines, -63 lines 0 comments Download
M third_party/tcmalloc/chromium/src/tests/debugallocation_test.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +47 lines, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/tests/malloc_extension_c_test.c View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/tests/malloc_extension_test.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +15 lines, -15 lines 0 comments Download
M third_party/tcmalloc/chromium/src/tests/pagemap_unittest.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +51 lines, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/tests/profile-handler_unittest.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 15 chunks +82 lines, -42 lines 0 comments Download
M third_party/tcmalloc/chromium/src/tests/profiler_unittest.sh View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +8 lines, -2 lines 0 comments Download
M third_party/tcmalloc/chromium/src/tests/sampling_test.sh View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +8 lines, -8 lines 0 comments Download
M third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 4 chunks +181 lines, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/thread_cache.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/tcmalloc/chromium/src/windows/config.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/windows/google/tcmalloc.h View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/windows/patch_functions.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 20 chunks +212 lines, -104 lines 0 comments Download
M third_party/tcmalloc/chromium/src/windows/port.cc View 18 19 20 21 22 23 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/tcmalloc/chromium/src/windows/preamble_patcher.cc View 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 64 (0 generated)
willchan no longer on Chromium
It looks like it fails on the windows trybot. Are you doing something about that?
10 years, 10 months ago (2010-02-04 19:48:47 UTC) #1
Alexander Potapenko
On 2010/02/04 19:48:47, willchan wrote: > It looks like it fails on the windows trybot. ...
10 years, 10 months ago (2010-02-04 20:06:29 UTC) #2
willchan no longer on Chromium
+mbelshe On Thu, Feb 4, 2010 at 12:06 PM, <glider@chromium.org> wrote: > Reviewers: jar, sgk, ...
10 years, 10 months ago (2010-02-04 20:10:17 UTC) #3
Alexander Potapenko
Yes, thanks. Sorry for adding you too early. On 2010/02/04 20:10:17, willchan wrote: > +mbelshe ...
10 years, 10 months ago (2010-02-04 20:28:32 UTC) #4
sgk
Based on my understanding of the intent, it looks like the forked copies of various ...
10 years, 10 months ago (2010-02-04 23:50:55 UTC) #5
Alexander Potapenko
That's right. The first patch sets didn't contain the *_linux files, but I've reverted that ...
10 years, 10 months ago (2010-02-05 08:36:57 UTC) #6
Alexander Potapenko
Gentlemen, please take a look at the CL (it's finally able to compile on Windows). ...
10 years, 10 months ago (2010-02-05 13:11:52 UTC) #7
Alexander Potapenko
A friendly ping. On 2010/02/05 13:11:52, Alexander Potapenko wrote: > Gentlemen, > > please take ...
10 years, 10 months ago (2010-02-09 10:22:59 UTC) #8
Anton Muhin
General questions: 1) why you undid a lot of work done on Chromium's tcmalloc? 2) ...
10 years, 10 months ago (2010-02-09 13:53:43 UTC) #9
Alexander Potapenko
On 2010/02/09 13:53:43, antonm1 wrote: > General questions: > > 1) why you undid a ...
10 years, 10 months ago (2010-02-09 14:29:56 UTC) #10
Anton Muhin
On Tue, Feb 9, 2010 at 5:29 PM, <glider@chromium.org> wrote: > On 2010/02/09 13:53:43, antonm1 ...
10 years, 10 months ago (2010-02-09 14:37:33 UTC) #11
sgk
gyp changes lgtm
10 years, 10 months ago (2010-02-09 18:33:44 UTC) #12
jar (doing other things)
There is a lot being dropped by this merge. Please look at the items below, ...
10 years, 10 months ago (2010-02-09 19:30:55 UTC) #13
Alexander Potapenko
http://codereview.chromium.org/576001/diff/3071/401 File third_party/tcmalloc/chromium/src/page_heap.cc (left): http://codereview.chromium.org/576001/diff/3071/401#oldcode154 third_party/tcmalloc/chromium/src/page_heap.cc:154: void PageHeap::CommitSpan(Span* span) { On 2010/02/09 19:30:55, jar wrote: ...
10 years, 10 months ago (2010-02-10 16:11:10 UTC) #14
Alexander Potapenko
On 2010/02/09 14:37:33, antonm1 wrote: > > For me the most crucial are three benchmarks: ...
10 years, 10 months ago (2010-02-10 16:22:37 UTC) #15
antonm
On Wed, Feb 10, 2010 at 7:22 PM, <glider@chromium.org> wrote: > On 2010/02/09 14:37:33, antonm1 ...
10 years, 10 months ago (2010-02-10 18:36:58 UTC) #16
jar (doing other things)
The following is a good way to get benchmark results with less pain: a) Make ...
10 years, 10 months ago (2010-02-10 18:53:02 UTC) #17
antonm
Yes, so it might be indeed more convenient. The only catch---numbers are not quite stable, ...
10 years, 10 months ago (2010-02-10 18:59:59 UTC) #18
Alexander Potapenko
I've committed the patch as r38766 and reverted it as r38772. According to http://build.chromium.org/buildbot/perf/dashboard/overview.html there ...
10 years, 10 months ago (2010-02-11 16:41:24 UTC) #19
antonm
The cycle might have been too short. For example http://build.chromium.org/buildbot/perf/xp-release-dual-core/dromaeo/report.html?history=150&rev=-1&graph=dom_query collected only three samples which ...
10 years, 10 months ago (2010-02-11 16:45:55 UTC) #20
jar (doing other things)
+to: mbelshe IMO, the perf bots are not proof-positive that all is well, but are ...
10 years, 10 months ago (2010-02-11 19:05:19 UTC) #21
_com_google_glider
Thanks, I'll take an extended look tomorrow morning. On 2010/02/11 16:45:55, antonm wrote: > The ...
10 years, 10 months ago (2010-02-11 20:27:54 UTC) #22
_com_google_glider
I actually think that it's better to keep the patch landed for several revisions to ...
10 years, 10 months ago (2010-02-11 20:31:50 UTC) #23
Alexander Potapenko
I've ran the benchmarks from http://dromaeo.com/?dom with and without the tcmalloc patch on my Linux ...
10 years, 10 months ago (2010-02-12 11:51:21 UTC) #24
Alexander Potapenko
> Also, for each benchmark result ran on the unpatched Chromium I > could find ...
10 years, 10 months ago (2010-02-12 11:55:45 UTC) #25
Anton Muhin
Sorry, but I am under impression that tcmalloc is not enabled on Linux. Plus committing/decommitting ...
10 years, 10 months ago (2010-02-12 13:10:47 UTC) #26
Alexander Potapenko
On 2010/02/12 13:10:47, antonm1 wrote: > Sorry, but I am under impression that tcmalloc is ...
10 years, 10 months ago (2010-02-12 13:27:50 UTC) #27
willchan no longer on Chromium
On Fri, Feb 12, 2010 at 5:27 AM, <glider@chromium.org> wrote: > On 2010/02/12 13:10:47, antonm1 ...
10 years, 10 months ago (2010-02-12 17:45:59 UTC) #28
_com_google_glider
> The linux_use_tcmalloc gyp variable is set to 0 by default in > common.gypi. Are ...
10 years, 10 months ago (2010-02-12 19:03:05 UTC) #29
Alexander Potapenko
I've reverted the CL again (r39083). Will check the performance results now.
10 years, 10 months ago (2010-02-16 09:41:29 UTC) #30
Alexander Potapenko
> In the page-cycle-moz, XP-dual-core, I think it looks like a 40ms regression > during ...
10 years, 10 months ago (2010-02-16 11:42:56 UTC) #31
Alexander Potapenko
Should I proceed with committing this CL or we should test anything else before?
10 years, 10 months ago (2010-02-18 10:47:00 UTC) #32
antonm
I checked our bots graphs for benchmarks and everything looks fine---thanks a lot for checking ...
10 years, 10 months ago (2010-02-18 11:08:15 UTC) #33
antonm
Mostly lgtm. But please wait for at least for Jim's (jar@) blessing if nobody else ...
10 years, 10 months ago (2010-02-18 11:30:07 UTC) #34
Alexander Potapenko
(Anton, I will address the rest of your comments a bit later, sorry) http://codereview.chromium.org/576001/diff/14002/13075 File ...
10 years, 10 months ago (2010-02-18 18:15:42 UTC) #35
jar (doing other things)
I see a lot of this merge relates to patching code. I think mbelshe worked ...
10 years, 10 months ago (2010-02-18 19:51:56 UTC) #36
Alexander Potapenko
http://codereview.chromium.org/576001/diff/14002/13075 File third_party/tcmalloc/chromium/src/page_heap.cc (right): http://codereview.chromium.org/576001/diff/14002/13075#newcode178 third_party/tcmalloc/chromium/src/page_heap.cc:178: PrependToFreeList(leftover); // Skip coalescing - no candidates possible On ...
10 years, 10 months ago (2010-02-19 11:06:51 UTC) #37
antonm
Alexander, sorry it turns to be a hard review. But the reason is not our ...
10 years, 10 months ago (2010-02-19 11:33:29 UTC) #38
Alexander Potapenko
http://codereview.chromium.org/576001/diff/14002/13101 File third_party/tcmalloc/chromium/src/base/low_level_alloc.cc (right): http://codereview.chromium.org/576001/diff/14002/13101#newcode219 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc:219: #if 0 On 2010/02/18 19:51:56, jar wrote: > nit: ...
10 years, 10 months ago (2010-02-19 17:36:27 UTC) #39
Alexander Potapenko
On 2010/02/18 19:51:56, jar wrote: > I see a lot of this merge relates to ...
10 years, 10 months ago (2010-02-19 17:38:29 UTC) #40
Alexander Potapenko
On 2010/02/19 11:33:29, antonm wrote: > Alexander, > > sorry it turns to be a ...
10 years, 10 months ago (2010-02-19 17:41:00 UTC) #41
jar (doing other things)
We probably need a unit test written, per suggestion below. It *might* be that the ...
10 years, 10 months ago (2010-02-19 18:47:58 UTC) #42
Alexander Potapenko
> http://codereview.chromium.org/576001/diff/14002/13075#newcode334 > third_party/tcmalloc/chromium/src/page_heap.cc:334: > TCMalloc_SystemRelease(reinterpret_cast<void*>(s->start << kPageShift), > The problem is that on windows, ...
10 years, 10 months ago (2010-02-27 16:42:41 UTC) #43
Alexander Potapenko
http://codereview.chromium.org/576001/diff/27001/27024 File third_party/tcmalloc/chromium/src/page_heap.cc (right): http://codereview.chromium.org/576001/diff/27001/27024#newcode178 third_party/tcmalloc/chromium/src/page_heap.cc:178: PrependToFreeList(leftover); // Skip coalescing - no candidates possible Aha, ...
10 years, 9 months ago (2010-03-05 12:27:20 UTC) #44
Alexander Potapenko
http://codereview.chromium.org/576001/diff/14002/13075 File third_party/tcmalloc/chromium/src/page_heap.cc (right): http://codereview.chromium.org/576001/diff/14002/13075#newcode283 third_party/tcmalloc/chromium/src/page_heap.cc:283: stats_.unmapped_bytes += (span->length << kPageShift); On 2010/02/19 11:33:29, antonm ...
10 years, 9 months ago (2010-03-05 15:25:01 UTC) #45
Anton Muhin
Thanks a lot, Alexander. yours, anton. On Fri, Mar 5, 2010 at 6:25 PM, <glider@chromium.org> ...
10 years, 9 months ago (2010-03-05 15:54:35 UTC) #46
Alexander Potapenko
On 2010/02/18 19:51:56, jar wrote: > I see a lot of this merge relates to ...
10 years, 9 months ago (2010-03-05 16:01:01 UTC) #47
Alexander Potapenko
Gentlemen, I've addressed all your comments (please remind me if I had missed something). Could ...
10 years, 9 months ago (2010-03-05 17:08:53 UTC) #48
antonm
http://codereview.chromium.org/576001/diff/30205/29173 File third_party/tcmalloc/chromium/src/page_heap.cc (right): http://codereview.chromium.org/576001/diff/30205/29173#newcode217 third_party/tcmalloc/chromium/src/page_heap.cc:217: IncrementalScavenge(n); Do we need to scavenge given all the ...
10 years, 9 months ago (2010-03-09 17:06:01 UTC) #49
Alexander Potapenko
http://codereview.chromium.org/576001/diff/30205/29173 File third_party/tcmalloc/chromium/src/page_heap.cc (right): http://codereview.chromium.org/576001/diff/30205/29173#newcode217 third_party/tcmalloc/chromium/src/page_heap.cc:217: IncrementalScavenge(n); On 2010/03/09 17:06:01, antonm wrote: > Do we ...
10 years, 9 months ago (2010-03-10 13:14:24 UTC) #50
jar (doing other things)
http://codereview.chromium.org/576001/diff/30205/29173 File third_party/tcmalloc/chromium/src/page_heap.cc (right): http://codereview.chromium.org/576001/diff/30205/29173#newcode348 third_party/tcmalloc/chromium/src/page_heap.cc:348: TCMalloc_SystemRelease(reinterpret_cast<void*>(s->start << kPageShift), This call looks problematic (unless something ...
10 years, 9 months ago (2010-03-10 20:00:21 UTC) #51
antonm
lgtm
10 years, 9 months ago (2010-03-11 13:51:18 UTC) #52
Alexander Potapenko
On 2010/03/10 20:00:21, jar wrote: > http://codereview.chromium.org/576001/diff/30205/29173 > File third_party/tcmalloc/chromium/src/page_heap.cc (right): > > http://codereview.chromium.org/576001/diff/30205/29173#newcode348 > ...
10 years, 9 months ago (2010-03-12 15:01:53 UTC) #53
jar (doing other things)
hmm... If this is, as you say, an existing problem, it is very bad. As ...
10 years, 9 months ago (2010-03-12 18:56:07 UTC) #54
Anton Muhin
Yes, Jim, VirtualFree operates at page granularity, so we should be safe here. yours, anton. ...
10 years, 9 months ago (2010-03-12 19:04:54 UTC) #55
Alexander Potapenko
I'm not that familiar with Windows memory management, but MSDN confirms that Virtual{Alloc,Free} operate page-aligned ...
10 years, 9 months ago (2010-03-15 05:37:03 UTC) #56
jar (doing other things)
Virtual alloc always returns (when doing an actual alloc) a 64K aligned block. You can ...
10 years, 9 months ago (2010-03-15 07:57:41 UTC) #57
Alexander Potapenko
Oh, I see. Thanks for the clarification. > You can get away with doing page-level ...
10 years, 9 months ago (2010-03-15 16:45:03 UTC) #58
Lei Zhang
http://codereview.chromium.org/576001/diff/30205/29159 File third_party/tcmalloc/chromium/src/tcmalloc.cc (right): http://codereview.chromium.org/576001/diff/30205/29159#newcode141 third_party/tcmalloc/chromium/src/tcmalloc.cc:141: using tcmalloc::PageHeapAllocator; nit: We don't use this anywhere. Same ...
10 years, 9 months ago (2010-03-16 20:13:26 UTC) #59
Alexander Potapenko
On 2010/03/16 20:13:26, Lei Zhang wrote: > http://codereview.chromium.org/576001/diff/30205/29159 > File third_party/tcmalloc/chromium/src/tcmalloc.cc (right): > > http://codereview.chromium.org/576001/diff/30205/29159#newcode141 ...
10 years, 9 months ago (2010-03-17 12:33:00 UTC) #60
Alexander Potapenko
On 2010/03/10 20:00:21, jar wrote: > http://codereview.chromium.org/576001/diff/30205/29173 > File third_party/tcmalloc/chromium/src/page_heap.cc (right): > > http://codereview.chromium.org/576001/diff/30205/29173#newcode348 > ...
10 years, 9 months ago (2010-03-17 12:37:23 UTC) #61
jar (doing other things)
I withdraw my concerns about 64K alignment, given that we ported the basic fix from ...
10 years, 9 months ago (2010-03-17 16:34:35 UTC) #62
Alexander Potapenko
I've occasionally committed the patch containing some debugging printfs. Reverted. On 2010/03/17 16:34:35, jar wrote: ...
10 years, 9 months ago (2010-03-18 11:42:37 UTC) #63
Alexander Potapenko
10 years, 9 months ago (2010-03-18 12:19:41 UTC) #64
Fixed, trying to land it again.

Powered by Google App Engine
This is Rietveld 408576698