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

Issue 10639006: Fix liveedit heap traversal bug with write barrier (Closed)

Created:
8 years, 6 months ago by Peter Rybin
Modified:
8 years, 6 months ago
Reviewers:
Erik Corry
CC:
v8-dev
Visibility:
Public.

Description

Fix liveedit heap traversal bug with write barrier Committed: https://code.google.com/p/v8/source/detail?r=11927

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M src/liveedit.cc View 1 chunk +6 lines, -0 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
Peter Rybin
I hope this fixes the issue from http://codereview.chromium.org/10332101/ Must admit I'm a bit in http://knowyourmeme.com/photos/234739-i-have-no-idea-what-im-doing ...
8 years, 6 months ago (2012-06-21 22:03:51 UTC) #1
Erik Corry
LGTM http://codereview.chromium.org/10639006/diff/1/src/liveedit.cc File src/liveedit.cc (right): http://codereview.chromium.org/10639006/diff/1/src/liveedit.cc#newcode973 src/liveedit.cc:973: // there are pointers in case some of ...
8 years, 6 months ago (2012-06-25 11:43:51 UTC) #2
Peter Rybin
8 years, 6 months ago (2012-06-25 21:43:42 UTC) #3
http://codereview.chromium.org/10639006/diff/1/src/liveedit.cc
File src/liveedit.cc (right):

http://codereview.chromium.org/10639006/diff/1/src/liveedit.cc#newcode973
src/liveedit.cc:973: // there are pointers in case some of the objects move in a
compacting GC.
On 2012/06/25 11:43:51, Erik Corry wrote:
> I think this comment should read:
> 
> // Perform a full GC in order to ensure that we are not in the middle of an
> incremental marking phase when we are replacing the code object.  Since we are
> not in an incremental marking phase we can write pointers to code objects
(that
> are never in new space) without worrying about write barriers.

Thank you!

Powered by Google App Engine
This is Rietveld 408576698