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

Issue 2741853007: PartitionAlloc: use less stack when dumping stats. (Closed)

Created:
3 years, 9 months ago by sof
Modified:
3 years, 9 months ago
Reviewers:
palmer, haraken
CC:
chromium-reviews, Dai Mikurube (NOT FULLTIME), Mads Ager (chromium), vmpstr+watch_chromium.org, wfh+watch_chromium.org, oilpan-reviews, kouhei+heap_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PartitionAlloc: use less stack when dumping stats. Avoid unnecessary stack usage in PartitionDumpStatsGeneric() for the intermediate array of sizes used for full stats reporting. Full stat dumps are currently only made use of by unit tests, light reports do not make really use of an intermediate array and allocation can be avoided for those. Addressing some reported stack overflow failures (Windows.) R=haraken BUG=699893, 699922 Review-Url: https://codereview.chromium.org/2741853007 Cr-Commit-Position: refs/heads/master@{#456291} Committed: https://chromium.googlesource.com/chromium/src/+/b05116a81a5b5c1efc34ef7c0fa96a9939749b3e

Patch Set 1 #

Patch Set 2 : check is_valid flag before sampling bucket stat #

Patch Set 3 : trigger webkit_tests.. #

Patch Set 4 : undo ps#3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -41 lines) Patch
M base/allocator/partition_allocator/partition_alloc.cc View 1 2 chunks +51 lines, -41 lines 0 comments Download

Messages

Total messages: 26 (22 generated)
sof
please take a look.
3 years, 9 months ago (2017-03-11 17:06:10 UTC) #17
haraken
LGTM
3 years, 9 months ago (2017-03-11 18:57:00 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2741853007/60001
3 years, 9 months ago (2017-03-11 19:11:26 UTC) #23
commit-bot: I haz the power
3 years, 9 months ago (2017-03-11 22:51:49 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/b05116a81a5b5c1efc34ef7c0fa9...

Powered by Google App Engine
This is Rietveld 408576698