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

Issue 1157943003: Replace ad-hoc weakness in transition array with WeakCell. (Closed)

Created:
5 years, 6 months ago by ulan
Modified:
5 years, 6 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Replace ad-hoc weakness in transition array with WeakCell. BUG= Committed: https://crrev.com/885455e99de817f86a0b5df2dc0d932cfc179749 Cr-Commit-Position: refs/heads/master@{#29083}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Comments #

Patch Set 4 : Fix #

Total comments: 2

Patch Set 5 : Remove redundant dchecks #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -74 lines) Patch
M src/heap/mark-compact.cc View 1 2 3 4 1 chunk +30 lines, -16 lines 1 comment Download
M src/heap/objects-visiting.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/heap/objects-visiting-inl.h View 1 2 chunks +0 lines, -22 lines 0 comments Download
M src/transitions.h View 1 4 chunks +12 lines, -7 lines 0 comments Download
M src/transitions.cc View 1 8 chunks +16 lines, -19 lines 0 comments Download
M src/transitions-inl.h View 1 2 3 4 4 chunks +18 lines, -9 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
ulan
PTAL
5 years, 6 months ago (2015-06-17 10:13:26 UTC) #2
Jakob Kummerow
LGTM with comments. https://codereview.chromium.org/1157943003/diff/60001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1157943003/diff/60001/src/heap/mark-compact.cc#newcode2485 src/heap/mark-compact.cc:2485: DCHECK(TransitionArray::IsFullTransitionArray(transitions)); This DCHECK is unneeded, as ...
5 years, 6 months ago (2015-06-17 10:38:51 UTC) #3
ulan
Thanks, I removed the redundant dchecks.
5 years, 6 months ago (2015-06-17 10:42:15 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1157943003/80001
5 years, 6 months ago (2015-06-17 11:28:24 UTC) #7
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 6 months ago (2015-06-17 12:07:50 UTC) #8
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/885455e99de817f86a0b5df2dc0d932cfc179749 Cr-Commit-Position: refs/heads/master@{#29083}
5 years, 6 months ago (2015-06-17 12:08:04 UTC) #9
ulan
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/1194673002/ by ulan@chromium.org. ...
5 years, 6 months ago (2015-06-18 15:51:28 UTC) #10
brucedawson
5 years, 6 months ago (2015-06-20 00:08:04 UTC) #12
Message was sent while issue was closed.
One post-commit comment, based on a /analyze warning. Just an FYI.

https://codereview.chromium.org/1157943003/diff/80001/src/heap/mark-compact.cc
File src/heap/mark-compact.cc (right):

https://codereview.chromium.org/1157943003/diff/80001/src/heap/mark-compact.c...
src/heap/mark-compact.cc:2490: WeakCell* target_cell = t->GetTargetCell(i);
This variable declaration shadows the target_cell variable of the same type in
the outer scope. There doesn't appear to be a bug here, but this can cause
confusion. Consider either reusing the outer variable or using a different name.

Powered by Google App Engine
This is Rietveld 408576698