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

Issue 1530583003: [Tracing] Adjust allocation register size for low-end devices (Closed)

Created:
5 years ago by seantopping
Modified:
5 years ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Tracing] Adjust allocation register size for low-end devices This patch limits the size of the allocation register and prevents OOM errors when running AllocationRegisterTest.OverflowDeathTest on low-end devices. BUG=570242 Committed: https://crrev.com/684e479f9a46580b5d5bdcf58944b832f6317dc1 Cr-Commit-Position: refs/heads/master@{#365905}

Patch Set 1 #

Patch Set 2 : AllocationRegister(num_cells) #

Patch Set 3 : Remove unused include #

Total comments: 4

Patch Set 4 : CR Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -11 lines) Patch
M base/trace_event/heap_profiler_allocation_register.h View 1 2 3 3 chunks +6 lines, -1 line 0 comments Download
M base/trace_event/heap_profiler_allocation_register.cc View 1 2 3 chunks +9 lines, -4 lines 0 comments Download
M base/trace_event/heap_profiler_allocation_register_unittest.cc View 1 2 3 3 chunks +10 lines, -6 lines 0 comments Download

Messages

Total messages: 29 (11 generated)
seantopping
Ruud + Primiano: Please take a look, see the internal bug for more context. Thanks!
5 years ago (2015-12-16 00:21:34 UTC) #3
Ruud van Asseldonk
On 2015/12/16 00:21:34, seantopping wrote: > Ruud + Primiano: Please take a look, see the ...
5 years ago (2015-12-16 08:59:31 UTC) #4
Primiano Tucci (use gerrit)
If I understand correctly the problem here is that the test fills up all the ...
5 years ago (2015-12-16 09:29:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1530583003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1530583003/1
5 years ago (2015-12-16 19:12:18 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/28169) linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, ...
5 years ago (2015-12-16 19:36:26 UTC) #10
seantopping
PTAL, I went ahead and implemented the suggested fix in crbug.com/570242 (also to remove the ...
5 years ago (2015-12-17 03:41:52 UTC) #11
Ruud van Asseldonk
Thanks! I have one comment. https://codereview.chromium.org/1530583003/diff/40001/base/trace_event/heap_profiler_allocation_register_unittest.cc File base/trace_event/heap_profiler_allocation_register_unittest.cc (right): https://codereview.chromium.org/1530583003/diff/40001/base/trace_event/heap_profiler_allocation_register_unittest.cc#newcode210 base/trace_event/heap_profiler_allocation_register_unittest.cc:210: AllocationRegister reg(kNumBuckets * 5); ...
5 years ago (2015-12-17 10:10:06 UTC) #12
Primiano Tucci (use gerrit)
https://codereview.chromium.org/1530583003/diff/40001/base/trace_event/heap_profiler_allocation_register.h File base/trace_event/heap_profiler_allocation_register.h (right): https://codereview.chromium.org/1530583003/diff/40001/base/trace_event/heap_profiler_allocation_register.h#newcode63 base/trace_event/heap_profiler_allocation_register.h:63: AllocationRegister(uint32_t num_cells); +explicit. I guess you don't want integers ...
5 years ago (2015-12-17 11:13:33 UTC) #13
seantopping
Re: comments https://codereview.chromium.org/1530583003/diff/40001/base/trace_event/heap_profiler_allocation_register.h File base/trace_event/heap_profiler_allocation_register.h (right): https://codereview.chromium.org/1530583003/diff/40001/base/trace_event/heap_profiler_allocation_register.h#newcode63 base/trace_event/heap_profiler_allocation_register.h:63: AllocationRegister(uint32_t num_cells); On 2015/12/17 11:13:33, Primiano Tucci ...
5 years ago (2015-12-17 20:07:32 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1530583003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1530583003/60001
5 years ago (2015-12-17 20:09:51 UTC) #16
Ruud van Asseldonk
On 2015/12/17 20:09:51, commit-bot: I haz the power wrote: > Dry run: CQ is trying ...
5 years ago (2015-12-17 20:28:06 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-17 21:52:52 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1530583003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1530583003/60001
5 years ago (2015-12-17 21:55:56 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-12-17 22:08:30 UTC) #24
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/684e479f9a46580b5d5bdcf58944b832f6317dc1 Cr-Commit-Position: refs/heads/master@{#365905}
5 years ago (2015-12-17 22:09:27 UTC) #26
phoglund_chromium
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1535063003/ by phoglund@chromium.org. ...
5 years ago (2015-12-18 09:00:31 UTC) #27
dcheng
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1538783003/ by dcheng@chromium.org. ...
5 years ago (2015-12-18 09:03:30 UTC) #28
Ruud van Asseldonk
5 years ago (2015-12-18 10:37:05 UTC) #29
Message was sent while issue was closed.
On 2015/12/18 09:03:30, dcheng wrote:
> A revert of this CL (patchset #4 id:60001) has been created in
> https://codereview.chromium.org/1538783003/ by mailto:dcheng@chromium.org.

I went ahead and relanded it: https://crrev.com/1531263004.

Powered by Google App Engine
This is Rietveld 408576698