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

Issue 7979038: Fix transferal of marking bits on array trimming. (Closed)

Created:
9 years, 3 months ago by Michael Starzinger
Modified:
9 years, 3 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix transferal of marking bits on array trimming. R=vegorov@chromium.org BUG=v8:1708 TEST=mjsunit/regress/regress-1708 Committed: http://code.google.com/p/v8/source/detail?r=9394

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed comments by Vyacheslav Egorov. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -23 lines) Patch
M src/mark-compact.cc View 1 3 chunks +28 lines, -23 lines 0 comments Download
A test/mjsunit/regress/regress-1708.js View 1 chunk +63 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Michael Starzinger
PTAL.
9 years, 3 months ago (2011-09-22 10:41:36 UTC) #1
Vyacheslav Egorov (Chromium)
LGTM http://codereview.chromium.org/7979038/diff/1/src/mark-compact.cc File src/mark-compact.cc (right): http://codereview.chromium.org/7979038/diff/1/src/mark-compact.cc#newcode388 src/mark-compact.cc:388: old_mark_bit.Next().Clear(); should not we clear both bits? (grey ...
9 years, 3 months ago (2011-09-22 11:59:02 UTC) #2
Michael Starzinger
9 years, 3 months ago (2011-09-22 13:03:02 UTC) #3
Added new patch set.

http://codereview.chromium.org/7979038/diff/1/src/mark-compact.cc
File src/mark-compact.cc (right):

http://codereview.chromium.org/7979038/diff/1/src/mark-compact.cc#newcode388
src/mark-compact.cc:388: old_mark_bit.Next().Clear();
On 2011/09/22 11:59:02, Vyacheslav Egorov wrote:
> should not we clear both bits? (grey = 11)

Done. You are right, didn't look into the grey case close enough. Nice catch!

Powered by Google App Engine
This is Rietveld 408576698