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

Issue 637253004: Use smi zero instead of undefine_value to zap dead weak cells. (Closed)

Created:
6 years, 2 months ago by ulan
Modified:
6 years, 2 months ago
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Use smi zero instead of undefine_value to zap dead weak cells. It is faster to test for smi zero from generated code. BUG= R=erikcorry@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=24758

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -13 lines) Patch
M src/heap/mark-compact.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M src/heap/objects-visiting-inl.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M src/objects.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M src/objects.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/objects-inl.h View 1 2 chunks +7 lines, -3 lines 0 comments Download
M test/cctest/test-heap.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
ulan
Hi Erik. Could you please take a look?
6 years, 2 months ago (2014-10-17 11:12:52 UTC) #2
Erik Corry Chromium.org
LGTM https://codereview.chromium.org/637253004/diff/1/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/637253004/diff/1/src/heap/mark-compact.cc#newcode2748 src/heap/mark-compact.cc:2748: if (!MarkCompactCollector::IsMarked(value)) { IsMarked will assert that the ...
6 years, 2 months ago (2014-10-20 08:00:18 UTC) #3
ulan
Thanks, landing. https://codereview.chromium.org/637253004/diff/1/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/637253004/diff/1/src/heap/mark-compact.cc#newcode2748 src/heap/mark-compact.cc:2748: if (!MarkCompactCollector::IsMarked(value)) { On 2014/10/20 08:00:17, Erik ...
6 years, 2 months ago (2014-10-20 12:30:19 UTC) #4
ulan
6 years, 2 months ago (2014-10-21 09:42:28 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 24758 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698