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

Issue 11316202: Properly handle-ify method calls to map() and GetLocalElementAccessorPair() (Closed)

Created:
8 years ago by adamk
Modified:
8 years ago
Reviewers:
rossberg, Toon Verwaest
CC:
v8-dev, rafaelw
Visibility:
Public.

Description

Properly handle-ify method calls to map() and GetLocalElementAccessorPair() These are likely causing some of the flaky crashes in Object.observe code. I've reorganized some of the code to minimize the number of necessary calls to map() (by saving the result of map()->is_observed() in a local bool). Also move down an unnecessarily early call to Uint32ToString when sending an element deletion notification. Committed: https://code.google.com/p/v8/source/detail?r=13070

Patch Set 1 #

Patch Set 2 : Also fix calls to map() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -18 lines) Patch
M src/objects.cc View 1 7 chunks +17 lines, -18 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
adamk
8 years ago (2012-11-27 21:04:22 UTC) #1
Toon Verwaest
8 years ago (2012-11-28 08:33:00 UTC) #2
lgtm. Nice cleanup, landing.

Powered by Google App Engine
This is Rietveld 408576698