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

Issue 12812006: Avoid massive stack frames by allocating 64k buffers in the heap. (Closed)

Created:
7 years, 9 months ago by Mads Ager (google)
Modified:
7 years, 9 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Avoid massive stack frames by allocating 64k buffers in the heap. R=sgjesse@google.com,ajohnsen@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=20068

Patch Set 1 #

Total comments: 2

Patch Set 2 : Allocate buffer as part of filter and fix code style #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -65 lines) Patch
M runtime/bin/filter.h View 1 2 chunks +27 lines, -18 lines 0 comments Download
M runtime/bin/filter.cc View 1 10 chunks +46 lines, -47 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Mads Ager (google)
7 years, 9 months ago (2013-03-15 07:28:55 UTC) #1
siva
DBC https://codereview.chromium.org/12812006/diff/1/runtime/bin/filter.cc File runtime/bin/filter.cc (right): https://codereview.chromium.org/12812006/diff/1/runtime/bin/filter.cc#newcode136 runtime/bin/filter.cc:136: uint8_t* buffer = new uint8_t[kFilterBufferLength]; Not sure how ...
7 years, 9 months ago (2013-03-15 07:47:00 UTC) #2
Søren Gjesse
lgtm - I think siva has a valid point
7 years, 9 months ago (2013-03-15 08:21:30 UTC) #3
Mads Ager (google)
PTAL. Moved the buffer to the filter. Fixed various code style issues. https://codereview.chromium.org/12812006/diff/1/runtime/bin/filter.cc File runtime/bin/filter.cc ...
7 years, 9 months ago (2013-03-15 09:24:56 UTC) #4
Søren Gjesse
lgtm - thanks for cleaning up the codestyle.
7 years, 9 months ago (2013-03-15 09:45:41 UTC) #5
Mads Ager (google)
7 years, 9 months ago (2013-03-15 10:20:09 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 manually as r20068 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698