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

Issue 1853783002: [heap] Non-contiguous young generation (Closed)

Created:
4 years, 8 months ago by Michael Lippautz
Modified:
4 years, 8 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] Non-contiguous young generation This change removes the large contiguous backing store from the young generation and replaces it regular pages. We keep a pool of pages that are committed/uncommitted to avoid creating virtual memory maps during growing and shrinking. BUG=chromium:581412 LOG=N Committed: https://crrev.com/3f92137209ce3c1d46d6498678cce0944c460b4d Cr-Commit-Position: refs/heads/master@{#35261}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Some cleanup #

Patch Set 4 : More cleanup #

Patch Set 5 : Remove unused member #

Patch Set 6 : Fix AllocatedSinceLastGC #

Patch Set 7 : Another round of cleanup/reorganization/adding comments. #

Total comments: 13

Patch Set 8 : Addressed Ulan's comments #

Patch Set 9 : Addressed offline comment (not passing size/executability for pooled allocation) #

Total comments: 4

Patch Set 10 : Hannes comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+243 lines, -257 lines) Patch
M src/base/platform/platform.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/heap/heap.h View 1 2 3 4 2 chunks +2 lines, -9 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 3 chunks +1 line, -24 lines 0 comments Download
M src/heap/spaces.h View 1 2 3 4 5 6 7 8 9 17 chunks +86 lines, -64 lines 0 comments Download
M src/heap/spaces.cc View 1 2 3 4 5 6 7 8 9 12 chunks +126 lines, -144 lines 0 comments Download
M src/heap/spaces-inl.h View 1 2 3 4 5 6 7 8 2 chunks +14 lines, -0 lines 0 comments Download
M test/cctest/heap/test-heap.cc View 1 2 3 2 chunks +2 lines, -10 lines 0 comments Download
M test/cctest/heap/test-spaces.cc View 1 2 3 3 chunks +8 lines, -6 lines 0 comments Download

Messages

Total messages: 30 (17 generated)
Michael Lippautz
PTAL https://codereview.chromium.org/1853783002/diff/200001/src/heap/heap.cc File src/heap/heap.cc (left): https://codereview.chromium.org/1853783002/diff/200001/src/heap/heap.cc#oldcode4926 src/heap/heap.cc:4926: if (isolate()->snapshot_available()) { I think removing this whole ...
4 years, 8 months ago (2016-04-05 07:57:43 UTC) #9
ulan
Looking good, few comments. https://codereview.chromium.org/1853783002/diff/200001/src/heap/spaces.cc File src/heap/spaces.cc (right): https://codereview.chromium.org/1853783002/diff/200001/src/heap/spaces.cc#newcode759 src/heap/spaces.cc:759: area_end, NOT_EXECUTABLE, owner, &reservation); s/NOT_EXECUTABLE/executable? ...
4 years, 8 months ago (2016-04-05 08:46:26 UTC) #10
Michael Lippautz
PTAL I verified that pooled allocation actually makes a difference by benchmarking Splay without allocation ...
4 years, 8 months ago (2016-04-05 09:42:34 UTC) #11
ulan
LGTM
4 years, 8 months ago (2016-04-05 10:53:02 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1853783002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1853783002/260001
4 years, 8 months ago (2016-04-05 10:58:09 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-05 11:20:14 UTC) #17
Hannes Payer (out of office)
https://codereview.chromium.org/1853783002/diff/260001/src/heap/spaces.h File src/heap/spaces.h (right): https://codereview.chromium.org/1853783002/diff/260001/src/heap/spaces.h#newcode1283 src/heap/spaces.h:1283: void Free(MemoryChunk* chunk); Maybe also templatize Free? https://codereview.chromium.org/1853783002/diff/260001/src/heap/spaces.h#newcode2648 src/heap/spaces.h:2648: ...
4 years, 8 months ago (2016-04-05 12:38:49 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1853783002/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1853783002/280001
4 years, 8 months ago (2016-04-05 12:39:37 UTC) #20
Michael Lippautz
https://codereview.chromium.org/1853783002/diff/260001/src/heap/spaces.h File src/heap/spaces.h (right): https://codereview.chromium.org/1853783002/diff/260001/src/heap/spaces.h#newcode1283 src/heap/spaces.h:1283: void Free(MemoryChunk* chunk); On 2016/04/05 at 12:38:49, Hannes Payer ...
4 years, 8 months ago (2016-04-05 12:47:59 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-05 13:09:21 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1853783002/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1853783002/280001
4 years, 8 months ago (2016-04-05 13:10:10 UTC) #26
commit-bot: I haz the power
Committed patchset #10 (id:280001)
4 years, 8 months ago (2016-04-05 13:11:56 UTC) #28
commit-bot: I haz the power
4 years, 8 months ago (2016-04-05 13:12:37 UTC) #30
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/3f92137209ce3c1d46d6498678cce0944c460b4d
Cr-Commit-Position: refs/heads/master@{#35261}

Powered by Google App Engine
This is Rietveld 408576698