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

Issue 17992002: - Add a WeakTable to the VM. This is used to remember the (Closed)

Created:
7 years, 5 months ago by Ivan Posva
Modified:
7 years, 5 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

- Add a WeakTable to the VM. This is used to remember the native peers registered through the Dart C API as well as assigning identity hashcodes to objects when needed. - Use the hashcode to lookup entries in the Expando. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=24563

Patch Set 1 #

Total comments: 21

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+490 lines, -157 lines) Patch
M runtime/lib/expando_patch.dart View 1 1 chunk +109 lines, -35 lines 0 comments Download
M runtime/lib/object.cc View 2 chunks +17 lines, -0 lines 0 comments Download
M runtime/lib/object_patch.dart View 1 chunk +14 lines, -8 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/gc_marker.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/gc_marker.cc View 2 chunks +15 lines, -13 lines 0 comments Download
M runtime/vm/heap.h View 4 chunks +46 lines, -8 lines 0 comments Download
M runtime/vm/heap.cc View 3 chunks +26 lines, -13 lines 0 comments Download
M runtime/vm/pages.h View 3 chunks +0 lines, -14 lines 0 comments Download
M runtime/vm/pages.cc View 1 chunk +0 lines, -20 lines 0 comments Download
M runtime/vm/scavenger.h View 4 chunks +1 line, -12 lines 0 comments Download
M runtime/vm/scavenger.cc View 4 chunks +22 lines, -33 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A runtime/vm/weak_table.h View 1 1 chunk +163 lines, -0 lines 0 comments Download
A runtime/vm/weak_table.cc View 1 1 chunk +72 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Ivan Posva
7 years, 5 months ago (2013-06-27 01:30:24 UTC) #1
siva
lgtm with some comments/questions. https://codereview.chromium.org/17992002/diff/1/runtime/lib/expando_patch.dart File runtime/lib/expando_patch.dart (right): https://codereview.chromium.org/17992002/diff/1/runtime/lib/expando_patch.dart#newcode66 runtime/lib/expando_patch.dart:66: // Not entering a null ...
7 years, 5 months ago (2013-06-27 22:11:33 UTC) #2
Ivan Posva
https://codereview.chromium.org/17992002/diff/1/runtime/lib/expando_patch.dart File runtime/lib/expando_patch.dart (right): https://codereview.chromium.org/17992002/diff/1/runtime/lib/expando_patch.dart#newcode66 runtime/lib/expando_patch.dart:66: // Not entering a null value. We just needed ...
7 years, 5 months ago (2013-06-27 23:59:12 UTC) #3
Ivan Posva
7 years, 5 months ago (2013-06-28 00:01:59 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r24563 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698