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

Issue 11055007: Scavenge watched objects by scavenging their watchers. (Closed)

Created:
8 years, 2 months ago by cshapiro
Modified:
8 years, 2 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Scavenge watched objects by scavenging their watchers. BUG=http://code.google.com/p/dart/issues/detail?id=5546 Committed: https://code.google.com/p/dart/source/detail?r=13157

Patch Set 1 #

Total comments: 2

Patch Set 2 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -13 lines) Patch
M runtime/tests/vm/vm.status View 1 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/vm/scavenger.cc View 1 1 chunk +19 lines, -11 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
cshapiro
8 years, 2 months ago (2012-10-02 22:45:27 UTC) #1
Ivan Posva
LGTM with comment. I added a unit test with https://chromiumcodereview.appspot.com/11047007/ -Ivan https://chromiumcodereview.appspot.com/11055007/diff/1/runtime/vm/scavenger.cc File runtime/vm/scavenger.cc (right): ...
8 years, 2 months ago (2012-10-02 23:02:30 UTC) #2
cshapiro
8 years, 2 months ago (2012-10-03 01:39:42 UTC) #3
https://chromiumcodereview.appspot.com/11055007/diff/1/runtime/vm/scavenger.cc
File runtime/vm/scavenger.cc (right):

https://chromiumcodereview.appspot.com/11055007/diff/1/runtime/vm/scavenger.c...
runtime/vm/scavenger.cc:126: // Forward the object by scavenging its watchers.
On 2012/10/02 23:02:31, Ivan Posva wrote:
> Can you add a comment here that we delayed visiting the pointers when we
> initially encountered the weak property object? Essentially at this point we
> know that the key is reachable so we should visit the pointers in the weak
> property.

Done.

Powered by Google App Engine
This is Rietveld 408576698