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

Issue 1040443002: MarkBit cleanup: They have to be accessed through Marking accessors. (Closed)

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

Description

MarkBit cleanup: They have to be accessed through Marking accessors. Avoid arbitrary abuse of mark bits and make marking explicit. Added DCHECKs to mark bit transitions to check source state. BUG= Committed: https://crrev.com/ba70a7a3e189bc11da38c2cacf4900794ac53214 Cr-Commit-Position: refs/heads/master@{#27689}

Patch Set 1 #

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -77 lines) Patch
M src/heap/heap.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M src/heap/incremental-marking.cc View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M src/heap/mark-compact.h View 1 2 3 3 chunks +42 lines, -3 lines 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 22 chunks +62 lines, -49 lines 0 comments Download
M src/heap/mark-compact-inl.h View 1 2 3 3 chunks +5 lines, -6 lines 0 comments Download
M src/heap/objects-visiting-inl.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/heap/spaces.h View 1 2 3 2 chunks +9 lines, -8 lines 0 comments Download
M src/heap/spaces.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M src/heap/store-buffer.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 14 (5 generated)
Hannes Payer (out of office)
5 years, 9 months ago (2015-03-26 21:30:04 UTC) #2
ulan
Nice cleanup! https://codereview.chromium.org/1040443002/diff/20001/src/heap/incremental-marking.cc File src/heap/incremental-marking.cc (right): https://codereview.chromium.org/1040443002/diff/20001/src/heap/incremental-marking.cc#newcode141 src/heap/incremental-marking.cc:141: if (Marking::IsMarked(mark_bit)) return; I like IsWhite(), IsBlack() ...
5 years, 9 months ago (2015-03-27 08:36:55 UTC) #3
Hannes Payer (out of office)
https://codereview.chromium.org/1040443002/diff/20001/src/heap/incremental-marking.cc File src/heap/incremental-marking.cc (right): https://codereview.chromium.org/1040443002/diff/20001/src/heap/incremental-marking.cc#newcode141 src/heap/incremental-marking.cc:141: if (Marking::IsMarked(mark_bit)) return; On 2015/03/27 08:36:55, ulan wrote: > ...
5 years, 8 months ago (2015-03-30 15:09:26 UTC) #4
ulan
lgtm https://codereview.chromium.org/1040443002/diff/20001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1040443002/diff/20001/src/heap/mark-compact.cc#newcode603 src/heap/mark-compact.cc:603: MarkBit end) { On 2015/03/30 15:09:25, Hannes Payer ...
5 years, 8 months ago (2015-03-30 15:17:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1040443002/40001
5 years, 8 months ago (2015-03-31 07:04:23 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_rel/builds/4460)
5 years, 8 months ago (2015-03-31 07:08:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1040443002/60001
5 years, 8 months ago (2015-04-09 08:31:06 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-09 08:55:45 UTC) #13
commit-bot: I haz the power
5 years, 8 months ago (2015-04-09 08:55:55 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ba70a7a3e189bc11da38c2cacf4900794ac53214
Cr-Commit-Position: refs/heads/master@{#27689}

Powered by Google App Engine
This is Rietveld 408576698