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

Issue 1279453005: Do not try to patch type objects that are already canonical. (Closed)

Created:
5 years, 4 months ago by siva
Modified:
5 years, 4 months ago
Reviewers:
regis
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

1. Remove the IsRecursive check when dealing with deferred canonicalization 2. Do not try to patch type objects that are already canonical as it already has the right objects in it's object graph. BUG= R=regis@google.com Committed: https://github.com/dart-lang/sdk/commit/b6ffeafbee0eb22de30c88d2cb1b9bcf3bfe9723

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix-code-review-comments #

Patch Set 3 : address-code-review-comments #

Patch Set 4 : code-review-comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -18 lines) Patch
M runtime/vm/object.cc View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 2 chunks +13 lines, -1 line 0 comments Download
M runtime/vm/snapshot.cc View 1 2 1 chunk +12 lines, -17 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
siva
5 years, 4 months ago (2015-08-07 22:32:39 UTC) #2
regis
LGTM Great! That's much better. https://codereview.chromium.org/1279453005/diff/1/runtime/vm/snapshot.cc File runtime/vm/snapshot.cc (right): https://codereview.chromium.org/1279453005/diff/1/runtime/vm/snapshot.cc#newcode1197 runtime/vm/snapshot.cc:1197: objref->SetCanonical(); Is this necessary? ...
5 years, 4 months ago (2015-08-07 22:41:43 UTC) #3
siva
https://codereview.chromium.org/1279453005/diff/1/runtime/vm/snapshot.cc File runtime/vm/snapshot.cc (right): https://codereview.chromium.org/1279453005/diff/1/runtime/vm/snapshot.cc#newcode1197 runtime/vm/snapshot.cc:1197: objref->SetCanonical(); On 2015/08/07 22:41:42, regis wrote: > Is this ...
5 years, 4 months ago (2015-08-07 23:30:07 UTC) #4
siva
I changed objref->SetIsCanonical() to just an ASSERT and had to make a small change in ...
5 years, 4 months ago (2015-08-10 21:24:57 UTC) #5
siva
5 years, 4 months ago (2015-08-10 21:51:22 UTC) #6
regis
LGTM I would have expected an assert to trigger in Type::Canonicalize(), in case the returned ...
5 years, 4 months ago (2015-08-10 22:00:42 UTC) #7
siva
5 years, 4 months ago (2015-08-10 22:37:39 UTC) #8
siva
5 years, 4 months ago (2015-08-11 01:26:10 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
b6ffeafbee0eb22de30c88d2cb1b9bcf3bfe9723 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698