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

Issue 2837873007: Tell V8 about the extra memory being held by FileReader objects. (Closed)

Created:
3 years, 7 months ago by michaeln
Modified:
3 years, 7 months ago
Reviewers:
kinuko, dmurph
CC:
chromium-reviews, blink-reviews, kinuko+fileapi, nhiroki, tzik
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Tell V8 about the extra memory being held by FileReader objects. BUG=114548 Review-Url: https://codereview.chromium.org/2837873007 Cr-Commit-Position: refs/heads/master@{#468550} Committed: https://chromium.googlesource.com/chromium/src/+/93af0c350008bf6e45ca995a8d88d161c8a384e0

Patch Set 1 #

Total comments: 1

Patch Set 2 : rebase #

Total comments: 2

Patch Set 3 : more accurate #

Total comments: 8

Patch Set 4 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -50 lines) Patch
M third_party/WebKit/Source/core/fileapi/FileReaderLoader.h View 1 2 3 3 chunks +14 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp View 1 2 3 7 chunks +49 lines, -39 lines 0 comments Download

Messages

Total messages: 35 (21 generated)
michaeln
https://codereview.chromium.org/2837873007/diff/1/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp File third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp (right): https://codereview.chromium.org/2837873007/diff/1/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp#newcode353 third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp:353: ReportAdditionalMemoryUsageToV8(string_result_.CharactersSizeInBytes()); Hmmm... I think this can miss reporting the ...
3 years, 7 months ago (2017-04-26 20:36:59 UTC) #4
dmurph
WDYT? https://codereview.chromium.org/2837873007/diff/20001/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp File third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp (right): https://codereview.chromium.org/2837873007/diff/20001/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp#newcode352 third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp:352: if (finished_loading_) To make this more clear, can ...
3 years, 7 months ago (2017-04-27 21:57:13 UTC) #11
michaeln
https://codereview.chromium.org/2837873007/diff/20001/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp File third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp (right): https://codereview.chromium.org/2837873007/diff/20001/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp#newcode352 third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp:352: if (finished_loading_) ok, i made it more accurate and ...
3 years, 7 months ago (2017-04-28 00:54:26 UTC) #12
dmurph
lgtm with nits https://codereview.chromium.org/2837873007/diff/40001/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp File third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp (right): https://codereview.chromium.org/2837873007/diff/40001/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp#newcode156 third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp:156: memory_usage_reported_to_v8_ += usage; do a bounds ...
3 years, 7 months ago (2017-04-28 02:33:48 UTC) #13
dmurph
https://codereview.chromium.org/2837873007/diff/40001/third_party/WebKit/Source/core/fileapi/FileReaderLoader.h File third_party/WebKit/Source/core/fileapi/FileReaderLoader.h (right): https://codereview.chromium.org/2837873007/diff/40001/third_party/WebKit/Source/core/fileapi/FileReaderLoader.h#newcode150 third_party/WebKit/Source/core/fileapi/FileReaderLoader.h:150: int64_t memory_usage_reported_to_v8_ = 0; On 2017/04/28 00:54:25, michaeln wrote: ...
3 years, 7 months ago (2017-04-28 20:39:44 UTC) #14
michaeln
thnx https://codereview.chromium.org/2837873007/diff/40001/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp File third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp (right): https://codereview.chromium.org/2837873007/diff/40001/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp#newcode156 third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp:156: memory_usage_reported_to_v8_ += usage; On 2017/04/28 02:33:48, dmurph wrote: ...
3 years, 7 months ago (2017-04-28 23:08:51 UTC) #15
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/2837873007/60001
3 years, 7 months ago (2017-04-28 23:10:39 UTC) #18
dmurph
On 2017/04/28 23:08:51, michaeln wrote: > thnx > > https://codereview.chromium.org/2837873007/diff/40001/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp > File third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp (right): > ...
3 years, 7 months ago (2017-04-28 23:10:43 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/423820)
3 years, 7 months ago (2017-04-28 23:20:38 UTC) #21
michaeln
On 2017/04/28 23:10:43, dmurph wrote: > On 2017/04/28 23:08:51, michaeln wrote: > > thnx > ...
3 years, 7 months ago (2017-04-29 00:20:16 UTC) #22
michaeln
@kinuko, for an OWNERS review, thnx
3 years, 7 months ago (2017-05-01 23:15:34 UTC) #28
kinuko
lgtm
3 years, 7 months ago (2017-05-02 01:05:39 UTC) #29
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/2837873007/60001
3 years, 7 months ago (2017-05-02 01:25:41 UTC) #31
commit-bot: I haz the power
3 years, 7 months ago (2017-05-02 03:26:35 UTC) #35
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/93af0c350008bf6e45ca995a8d88...

Powered by Google App Engine
This is Rietveld 408576698