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

Issue 2210263002: [heap] Improve size profiling for ArrayBuffer tracking (Closed)

Created:
4 years, 4 months ago by Michael Lippautz
Modified:
4 years, 4 months ago
CC:
Hannes Payer (out of office), ulan, v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[heap] Improve size profiling for ArrayBuffer tracking Eagerly account for retained sizes during ArrayBuffer tracking. Following up on this, we can now do Scavenges if the amount of memory retained from new space is too large. BUG=chromium:621829 R=jochen@chromium.org,hpayer@chromium.org Committed: https://crrev.com/28e13bd6a75c9467dae43043e7b741a1387d5252 Cr-Commit-Position: refs/heads/master@{#38731}

Patch Set 1 #

Patch Set 2 : Added tests and some more fixes #

Total comments: 7

Patch Set 3 : Addressed comments #

Patch Set 4 : Minor cleanups #

Patch Set 5 : More small improvements #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -83 lines) Patch
M include/v8.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/heap/array-buffer-tracker.h View 1 2 3 4 3 chunks +44 lines, -13 lines 0 comments Download
M src/heap/array-buffer-tracker.cc View 1 2 3 4 6 chunks +74 lines, -43 lines 0 comments Download
M src/heap/array-buffer-tracker-inl.h View 1 2 3 4 5 3 chunks +14 lines, -4 lines 0 comments Download
M src/heap/heap.h View 1 2 3 4 5 4 chunks +7 lines, -10 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 5 6 chunks +25 lines, -4 lines 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 4 5 5 chunks +7 lines, -6 lines 0 comments Download
M src/heap/spaces.cc View 1 2 3 4 3 chunks +4 lines, -2 lines 0 comments Download
M test/cctest/heap/test-array-buffer-tracker.cc View 1 1 chunk +60 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (32 generated)
Michael Lippautz
PTAL We can then base our decisions on what to do in case of too ...
4 years, 4 months ago (2016-08-04 11:50:03 UTC) #6
jochen (gone - plz use gerrit)
lgtm
4 years, 4 months ago (2016-08-05 11:47:34 UTC) #11
Hannes Payer (out of office)
How are array buffer heavy workloads effected by this change? Can you check beforehand? https://codereview.chromium.org/2210263002/diff/40001/src/heap/array-buffer-tracker.cc ...
4 years, 4 months ago (2016-08-05 12:14:14 UTC) #12
Michael Lippautz
https://codereview.chromium.org/2210263002/diff/40001/src/heap/array-buffer-tracker.cc File src/heap/array-buffer-tracker.cc (right): https://codereview.chromium.org/2210263002/diff/40001/src/heap/array-buffer-tracker.cc#newcode151 src/heap/array-buffer-tracker.cc:151: retained_from_new_space_.Increment( On 2016/08/05 12:14:13, Hannes Payer wrote: > On ...
4 years, 4 months ago (2016-08-08 08:34:46 UTC) #13
Hannes Payer (out of office)
LGTM if performance is fine
4 years, 4 months ago (2016-08-08 10:45:42 UTC) #23
Michael Lippautz
Performance is within ~3% on the considered perf.bindings benchmarks which are micro benchmarks only allocating ...
4 years, 4 months ago (2016-08-08 12:37:25 UTC) #24
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/2210263002/140001
4 years, 4 months ago (2016-08-18 20:09:06 UTC) #37
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 4 months ago (2016-08-18 20:45:26 UTC) #39
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/28e13bd6a75c9467dae43043e7b741a1387d5252 Cr-Commit-Position: refs/heads/master@{#38731}
4 years, 4 months ago (2016-08-18 20:45:55 UTC) #41
Michael Lippautz
4 years, 4 months ago (2016-08-19 08:16:54 UTC) #42
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:140001) has been created in
https://codereview.chromium.org/2261513003/ by mlippautz@chromium.org.

The reason for reverting is: Tanks octane.

Powered by Google App Engine
This is Rietveld 408576698