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

Issue 2259013002: Become: Also forward identity hashes. (Closed)

Created:
4 years, 4 months ago by rmacnak
Modified:
4 years, 4 months ago
Reviewers:
Cutch, siva
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

Patch Set 1 #

Patch Set 2 : restore comment #

Patch Set 3 : . #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -0 lines) Patch
M runtime/vm/become.cc View 1 chunk +7 lines, -0 lines 2 comments Download
M runtime/vm/isolate_reload_test.cc View 1 2 1 chunk +59 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
rmacnak
4 years, 4 months ago (2016-08-18 19:59:19 UTC) #2
Cutch
LGTM!
4 years, 4 months ago (2016-08-18 20:55:38 UTC) #3
rmacnak
Committed patchset #3 (id:40001) manually as 078ea2e4f107ffeb8da63245c48ccd43bcfb4f28 (presubmit successful).
4 years, 4 months ago (2016-08-18 21:10:53 UTC) #5
siva
https://codereview.chromium.org/2259013002/diff/40001/runtime/vm/become.cc File runtime/vm/become.cc (right): https://codereview.chromium.org/2259013002/diff/40001/runtime/vm/become.cc#newcode270 runtime/vm/become.cc:270: } How does this work for internal VM objects, ...
4 years, 4 months ago (2016-08-19 00:08:15 UTC) #7
rmacnak
4 years, 4 months ago (2016-08-19 00:16:54 UTC) #8
Message was sent while issue was closed.
https://codereview.chromium.org/2259013002/diff/40001/runtime/vm/become.cc
File runtime/vm/become.cc (right):

https://codereview.chromium.org/2259013002/diff/40001/runtime/vm/become.cc#ne...
runtime/vm/become.cc:270: }
On 2016/08/19 00:08:15, siva wrote:
> How does this work for internal VM objects, for example if before_obj and
after
> _obj are strings then it is not correct to get the hash of before_obj and set
it
> to the hash of after_obj?

A String's usual hash is the one inline in the object. This forwards identity
hashes in the weak tables.

Powered by Google App Engine
This is Rietveld 408576698