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

Issue 1399663002: 1. Do not mark an object by storing the object id used during serialization in the object header. (Closed)

Created:
5 years, 2 months ago by siva
Modified:
5 years, 2 months ago
Reviewers:
rmacnak
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. Do not mark an object by storing the object id used during serialization in the object header. 2. Removed all the GC task locking code which was needed to ensure that a garbage collection was not in progress when writing a message as the message writer was manipulating the object header 3. Use the rawobject => object_id hash map to store and retrieve the object id for an object. R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/f92f63baa5277b84aa7152466a2e3c85db1d2575

Patch Set 1 #

Patch Set 2 : merge-to-tot #

Patch Set 3 : use-hash-table #

Patch Set 4 : self-code-review #

Total comments: 4

Patch Set 5 : code-review-comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -189 lines) Patch
M runtime/vm/dart_api_message.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 3 7 chunks +7 lines, -10 lines 0 comments Download
M runtime/vm/snapshot.h View 1 2 3 4 9 chunks +21 lines, -28 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 2 3 4 31 chunks +66 lines, -144 lines 0 comments Download
M runtime/vm/snapshot_test.cc View 1 2 3 4 5 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
siva
5 years, 2 months ago (2015-10-12 23:09:16 UTC) #2
rmacnak
LGTM https://chromiumcodereview.appspot.com/1399663002/diff/60001/runtime/vm/snapshot.cc File runtime/vm/snapshot.cc (right): https://chromiumcodereview.appspot.com/1399663002/diff/60001/runtime/vm/snapshot.cc#newcode1196 runtime/vm/snapshot.cc:1196: Instructions::InstanceSize(instructions->ptr()->size_); instructions->Size() https://chromiumcodereview.appspot.com/1399663002/diff/60001/runtime/vm/snapshot.cc#newcode2030 runtime/vm/snapshot.cc:2030: if (!vm_isolate_is_symbolic_) { if ...
5 years, 2 months ago (2015-10-13 17:58:52 UTC) #3
siva
https://chromiumcodereview.appspot.com/1399663002/diff/60001/runtime/vm/snapshot.cc File runtime/vm/snapshot.cc (right): https://chromiumcodereview.appspot.com/1399663002/diff/60001/runtime/vm/snapshot.cc#newcode1196 runtime/vm/snapshot.cc:1196: Instructions::InstanceSize(instructions->ptr()->size_); On 2015/10/13 17:58:52, rmacnak wrote: > instructions->Size() Done. ...
5 years, 2 months ago (2015-10-13 22:07:28 UTC) #4
siva
5 years, 2 months ago (2015-10-13 22:26:08 UTC) #5
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
f92f63baa5277b84aa7152466a2e3c85db1d2575 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698