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

Issue 10781033: Insert missing write barrier in sliced string allocation. (Closed)

Created:
8 years, 5 months ago by Yang
Modified:
8 years, 5 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Insert missing write barrier in sliced string allocation. BUG=v8:2237 TEST=test-heap/Regress2237 Committed: https://code.google.com/p/v8/source/detail?r=12127

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -0 lines) Patch
M src/objects-inl.h View 1 chunk +2 lines, -0 lines 1 comment Download
M test/cctest/test-heap.cc View 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Yang
PTAL.
8 years, 5 months ago (2012-07-17 12:26:07 UTC) #1
Michael Starzinger
8 years, 5 months ago (2012-07-17 12:38:45 UTC) #2
LGTM (with one nit).

https://chromiumcodereview.appspot.com/10781033/diff/1/src/objects-inl.h
File src/objects-inl.h (right):

https://chromiumcodereview.appspot.com/10781033/diff/1/src/objects-inl.h#newc...
src/objects-inl.h:2440: WriteBarrierMode mode = UPDATE_WRITE_BARRIER;
Can we pass in the WriteBarrierMode as a parameter with a default value? This
would be in sync with the other setters.

Powered by Google App Engine
This is Rietveld 408576698