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

Issue 18221006: Add map transition for observed objects (Closed)

Created:
7 years, 5 months ago by rafaelw
Modified:
7 years, 5 months ago
Reviewers:
Toon Verwaest, rossberg
CC:
rossberg
Base URL:
https://github.com/v8/v8.git@bleeding_edge
Visibility:
Public.

Description

Add map transition for observed objects This patch enables objects to undergo a single transition when they become observed, avoiding the need to create a new map for every observed objects. Observed objects which become unobserved does not cause another map transition and unobserved does not clear the observed bit on the map. The unobserved object. R=verwaest@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15650

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 3

Patch Set 3 : cr comments #

Patch Set 4 : debug failure fix #

Patch Set 5 : better check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -29 lines) Patch
M include/v8.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/heap.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/heap.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/object-observe.js View 2 chunks +4 lines, -8 lines 0 comments Download
M src/objects.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M src/objects.cc View 1 2 3 4 3 chunks +68 lines, -1 line 0 comments Download
M src/runtime.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/runtime.cc View 1 2 2 chunks +3 lines, -17 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
rafaelw
7 years, 5 months ago (2013-07-12 01:46:47 UTC) #1
rossberg
https://codereview.chromium.org/18221006/diff/2001/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/18221006/diff/2001/src/runtime.cc#newcode13744 src/runtime.cc:13744: RUNTIME_FUNCTION(MaybeObject*, Runtime_SetIsObserved) { Drive-by comment: I think the (by ...
7 years, 5 months ago (2013-07-12 06:58:02 UTC) #2
Toon Verwaest
https://codereview.chromium.org/18221006/diff/2001/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/18221006/diff/2001/src/runtime.cc#newcode13744 src/runtime.cc:13744: RUNTIME_FUNCTION(MaybeObject*, Runtime_SetIsObserved) { I agree. Also, can we share ...
7 years, 5 months ago (2013-07-12 09:02:55 UTC) #3
rafaelw
https://codereview.chromium.org/18221006/diff/2001/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/18221006/diff/2001/src/runtime.cc#newcode13744 src/runtime.cc:13744: RUNTIME_FUNCTION(MaybeObject*, Runtime_SetIsObserved) { On 2013/07/12 09:02:56, Toon Verwaest wrote: ...
7 years, 5 months ago (2013-07-12 21:17:37 UTC) #4
Toon Verwaest
LGTM
7 years, 5 months ago (2013-07-12 23:15:03 UTC) #5
rafaelw
Thanks. Note the final fix which I just uploaded which avoids attempting to retrieve the ...
7 years, 5 months ago (2013-07-13 00:05:48 UTC) #6
adamk
7 years, 5 months ago (2013-07-13 00:20:47 UTC) #7
Message was sent while issue was closed.
Committed patchset #5 manually as r15650 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698