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

Side by Side Diff: runtime/vm/object.cc

Issue 136853004: 1. Delete prolog weak persistent handles when shutting down an isolate (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/object.h" 5 #include "vm/object.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/cpu.h" 10 #include "vm/cpu.h"
(...skipping 16449 matching lines...) Expand 10 before | Expand all | Expand 10 after
16460 } 16460 }
16461 16461
16462 16462
16463 void TypedData::PrintToJSONStream(JSONStream* stream, bool ref) const { 16463 void TypedData::PrintToJSONStream(JSONStream* stream, bool ref) const {
16464 Instance::PrintToJSONStream(stream, ref); 16464 Instance::PrintToJSONStream(stream, ref);
16465 } 16465 }
16466 16466
16467 16467
16468 FinalizablePersistentHandle* ExternalTypedData::AddFinalizer( 16468 FinalizablePersistentHandle* ExternalTypedData::AddFinalizer(
16469 void* peer, Dart_WeakPersistentHandleFinalizer callback) const { 16469 void* peer, Dart_WeakPersistentHandleFinalizer callback) const {
16470 SetPeer(peer);
16471 return dart::AddFinalizer(*this, peer, callback); 16470 return dart::AddFinalizer(*this, peer, callback);
16472 } 16471 }
16473 16472
16474 16473
16475 RawExternalTypedData* ExternalTypedData::New(intptr_t class_id, 16474 RawExternalTypedData* ExternalTypedData::New(intptr_t class_id,
16476 uint8_t* data, 16475 uint8_t* data,
16477 intptr_t len, 16476 intptr_t len,
16478 Heap::Space space) { 16477 Heap::Space space) {
16479 ExternalTypedData& result = ExternalTypedData::Handle(); 16478 ExternalTypedData& result = ExternalTypedData::Handle();
16480 { 16479 {
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
16974 return "_MirrorReference"; 16973 return "_MirrorReference";
16975 } 16974 }
16976 16975
16977 16976
16978 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { 16977 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const {
16979 Instance::PrintToJSONStream(stream, ref); 16978 Instance::PrintToJSONStream(stream, ref);
16980 } 16979 }
16981 16980
16982 16981
16983 } // namespace dart 16982 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698