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

Issue 2498583002: [heap] Minor MC: Add marking (Closed)

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

Description

[heap] Minor MC: Add marking Adds the marking logic to mark the young generation. BUG=chromium:651354 Committed: https://crrev.com/7e5755cbc594b610fc26493a2bad547dd69138f3 Cr-Commit-Position: refs/heads/master@{#41104}

Patch Set 1 #

Patch Set 2 : Add verifier #

Patch Set 3 : Add marking helpers #

Patch Set 4 : More marking #

Patch Set 5 : Rebase #

Patch Set 6 : Add timing stats, fix verifier #

Patch Set 7 : Working on octane #

Patch Set 8 : Fixed verification #

Patch Set 9 : cctests working #

Patch Set 10 : unittests mjsunit #

Patch Set 11 : Fix uncommitting of markingdeque #

Total comments: 12

Patch Set 12 : Addressed some comments #

Patch Set 13 : Restructure global handles code and calling from heap.cc #

Patch Set 14 : Add more ifdef VERIFY_HEAP #

Patch Set 15 : Fix #

Total comments: 4

Patch Set 16 : Remove verifier code #

Patch Set 17 : Move to concurrent uncomitting of marking deque #

Unified diffs Side-by-side diffs Delta from patch set Stats (+334 lines, -83 lines) Patch
M src/global-handles.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +8 lines, -1 line 0 comments Download
M src/global-handles.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +23 lines, -6 lines 0 comments Download
M src/heap/gc-idle-time-handler.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M src/heap/gc-idle-time-handler.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M src/heap/gc-tracer.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M src/heap/gc-tracer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +8 lines, -3 lines 0 comments Download
M src/heap/heap.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -0 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +16 lines, -17 lines 0 comments Download
M src/heap/mark-compact.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 10 chunks +30 lines, -17 lines 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 22 chunks +182 lines, -39 lines 0 comments Download
M test/cctest/heap/heap-utils.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/heap/test-array-buffer-tracker.cc View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -0 lines 0 comments Download
M test/cctest/heap/test-heap.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 33 chunks +33 lines, -0 lines 0 comments Download
M test/cctest/heap/test-page-promotion.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/test-serialize.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/test-weakmaps.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M test/unittests/heap/gc-idle-time-handler-unittest.cc View 1 2 3 4 5 6 7 8 9 12 chunks +13 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 27 (15 generated)
Michael Lippautz
PTAL, this is now ready; Successfully ran Octane and the whole test suite using the ...
4 years, 1 month ago (2016-11-15 18:18:24 UTC) #5
ulan
Exciting stuff! Few comments, will review more carefully tomorrow. https://codereview.chromium.org/2498583002/diff/220001/src/global-handles.cc File src/global-handles.cc (right): https://codereview.chromium.org/2498583002/diff/220001/src/global-handles.cc#newcode722 src/global-handles.cc:722: ...
4 years, 1 month ago (2016-11-15 19:57:22 UTC) #6
Michael Lippautz
Thanks for the first round. Still trying to figure out a better way for the ...
4 years, 1 month ago (2016-11-16 08:59:37 UTC) #7
Michael Lippautz
PTAL. Restructured the global handles code and the entry points into verification. https://codereview.chromium.org/2498583002/diff/220001/src/global-handles.cc File src/global-handles.cc ...
4 years, 1 month ago (2016-11-16 10:25:26 UTC) #8
ulan
lgtm!
4 years, 1 month ago (2016-11-16 10:46:55 UTC) #9
Hannes Payer (out of office)
Before I have a close look, one general question: Do we need the verification code? ...
4 years, 1 month ago (2016-11-18 07:33:02 UTC) #12
Michael Lippautz
PTAL. Removed the verifier code. https://codereview.chromium.org/2498583002/diff/300001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/2498583002/diff/300001/src/heap/mark-compact.cc#newcode2256 src/heap/mark-compact.cc:2256: void MarkingDeque::StopUsing(UncommitMode mode) { ...
4 years, 1 month ago (2016-11-18 09:46:19 UTC) #14
Hannes Payer (out of office)
LGTM. Nice reuse of marking infrastructure. https://codereview.chromium.org/2498583002/diff/300001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/2498583002/diff/300001/src/heap/mark-compact.cc#newcode2256 src/heap/mark-compact.cc:2256: void MarkingDeque::StopUsing(UncommitMode mode) ...
4 years, 1 month ago (2016-11-18 10:07:11 UTC) #15
Michael Lippautz
https://codereview.chromium.org/2498583002/diff/300001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/2498583002/diff/300001/src/heap/mark-compact.cc#newcode2256 src/heap/mark-compact.cc:2256: void MarkingDeque::StopUsing(UncommitMode mode) { On 2016/11/18 10:07:11, Hannes Payer ...
4 years, 1 month ago (2016-11-18 11:33:32 UTC) #16
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/2498583002/340001
4 years, 1 month ago (2016-11-18 12:32:56 UTC) #23
commit-bot: I haz the power
Committed patchset #17 (id:340001)
4 years, 1 month ago (2016-11-18 12:55:59 UTC) #25
commit-bot: I haz the power
4 years, 1 month ago (2016-11-18 12:56:23 UTC) #27
Message was sent while issue was closed.
Patchset 17 (id:??) landed as
https://crrev.com/7e5755cbc594b610fc26493a2bad547dd69138f3
Cr-Commit-Position: refs/heads/master@{#41104}

Powered by Google App Engine
This is Rietveld 408576698