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

Issue 2440683002: [heap] Move typed slot filtering logic into sweeper. (Closed)

Created:
4 years, 2 months ago by Hannes Payer (out of office)
Modified:
4 years, 1 month ago
Reviewers:
Michael Lippautz, ulan
CC:
v8-reviews_googlegroups.com, Hannes Payer (out of office), ulan
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[heap] Move typed slot filtering logic into sweeper. Additionally, remove all code related to the old-style slots filtering and black area end markers. BUG=chromium:648568 Committed: https://crrev.com/a007dfc18e95a79cba33cd2e850ddf650853752d Cr-Commit-Position: refs/heads/master@{#40494}

Patch Set 1 #

Patch Set 2 : new way of filtering #

Patch Set 3 : upper bound #

Patch Set 4 : format #

Patch Set 5 : format #

Total comments: 10

Patch Set 6 : comments #

Patch Set 7 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -286 lines) Patch
M BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M src/heap/incremental-marking.cc View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M src/heap/mark-compact.h View 3 chunks +7 lines, -10 lines 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 4 5 7 chunks +37 lines, -136 lines 0 comments Download
D src/heap/remembered-set.cc View 1 chunk +0 lines, -50 lines 0 comments Download
M src/heap/slot-set.h View 1 2 3 4 5 2 chunks +23 lines, -0 lines 0 comments Download
M src/heap/spaces.h View 1 2 3 3 chunks +1 line, -33 lines 0 comments Download
M src/heap/spaces.cc View 1 2 3 3 chunks +0 lines, -9 lines 0 comments Download
M src/v8.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M test/cctest/heap/test-heap.cc View 1 chunk +0 lines, -43 lines 0 comments Download
M test/unittests/heap/slot-set-unittest.cc View 1 2 3 4 5 6 2 chunks +31 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (28 generated)
Hannes Payer (out of office)
4 years, 2 months ago (2016-10-20 13:48:16 UTC) #18
ulan
Looking good! https://chromiumcodereview.appspot.com/2440683002/diff/80001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://chromiumcodereview.appspot.com/2440683002/diff/80001/src/heap/mark-compact.cc#newcode3223 src/heap/mark-compact.cc:3223: std::map<uint32_t, uint32_t> free_ranges; Alternative solution was to ...
4 years, 2 months ago (2016-10-20 15:48:19 UTC) #19
Michael Lippautz
Looking good. +1 to what Ulan found in the clearing function! https://chromiumcodereview.appspot.com/2440683002/diff/80001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (left): ...
4 years, 2 months ago (2016-10-20 16:28:24 UTC) #20
Hannes Payer (out of office)
https://codereview.chromium.org/2440683002/diff/80001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (left): https://codereview.chromium.org/2440683002/diff/80001/src/heap/mark-compact.cc#oldcode2875 src/heap/mark-compact.cc:2875: bool MarkCompactCollector::IsSlotInBlackObject(MemoryChunk* p, Address slot) { On 2016/10/20 16:28:24, ...
4 years, 2 months ago (2016-10-21 07:13:30 UTC) #23
Michael Lippautz
lgtm if ulan is fine with the clearing approach
4 years, 2 months ago (2016-10-21 08:53:39 UTC) #30
ulan
lgtm! We discussed the clearing with Hannes. The number of free ranges is small in ...
4 years, 2 months ago (2016-10-21 08:59:29 UTC) #31
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/2440683002/120001
4 years, 2 months ago (2016-10-21 09:00:14 UTC) #33
Hannes Payer (out of office)
octane: maximum 156, average 34 free ranges similar for web workloads.
4 years, 2 months ago (2016-10-21 09:00:55 UTC) #34
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 2 months ago (2016-10-21 09:04:55 UTC) #36
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:09:21 UTC) #38
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/a007dfc18e95a79cba33cd2e850ddf650853752d
Cr-Commit-Position: refs/heads/master@{#40494}

Powered by Google App Engine
This is Rietveld 408576698