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

Side by Side Diff: runtime/vm/raw_object.h

Issue 263803009: Retained size for instance in Observatory. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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_graph_test.cc ('k') | runtime/vm/service.cc » ('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 #ifndef VM_RAW_OBJECT_H_ 5 #ifndef VM_RAW_OBJECT_H_
6 #define VM_RAW_OBJECT_H_ 6 #define VM_RAW_OBJECT_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/globals.h" 9 #include "vm/globals.h"
10 #include "vm/token.h" 10 #include "vm/token.h"
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 friend class HeapMapAsJSONVisitor; 449 friend class HeapMapAsJSONVisitor;
450 friend class ClassStatsVisitor; 450 friend class ClassStatsVisitor;
451 friend class MarkingVisitor; 451 friend class MarkingVisitor;
452 friend class Object; 452 friend class Object;
453 friend class RawExternalTypedData; 453 friend class RawExternalTypedData;
454 friend class RawInstructions; 454 friend class RawInstructions;
455 friend class RawInstance; 455 friend class RawInstance;
456 friend class RawTypedData; 456 friend class RawTypedData;
457 friend class Scavenger; 457 friend class Scavenger;
458 friend class ScavengerVisitor; 458 friend class ScavengerVisitor;
459 friend class SizeExcludingClassVisitor; // GetClassId
459 friend class SnapshotReader; 460 friend class SnapshotReader;
460 friend class SnapshotWriter; 461 friend class SnapshotWriter;
461 friend class String; 462 friend class String;
462 friend class TypedData; 463 friend class TypedData;
463 friend class TypedDataView; 464 friend class TypedDataView;
464 465
465 DISALLOW_ALLOCATION(); 466 DISALLOW_ALLOCATION();
466 DISALLOW_IMPLICIT_CONSTRUCTORS(RawObject); 467 DISALLOW_IMPLICIT_CONSTRUCTORS(RawObject);
467 }; 468 };
468 469
(...skipping 1364 matching lines...) Expand 10 before | Expand all | Expand 10 after
1833 // Make sure this is updated when new TypedData types are added. 1834 // Make sure this is updated when new TypedData types are added.
1834 ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 14); 1835 ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 14);
1835 ASSERT(kExternalTypedDataInt8ArrayCid == kTypedDataInt8ArrayViewCid + 15); 1836 ASSERT(kExternalTypedDataInt8ArrayCid == kTypedDataInt8ArrayViewCid + 15);
1836 ASSERT(kNullCid == kExternalTypedDataInt8ArrayCid + 14); 1837 ASSERT(kNullCid == kExternalTypedDataInt8ArrayCid + 14);
1837 return (kNullCid - kTypedDataInt8ArrayCid); 1838 return (kNullCid - kTypedDataInt8ArrayCid);
1838 } 1839 }
1839 1840
1840 } // namespace dart 1841 } // namespace dart
1841 1842
1842 #endif // VM_RAW_OBJECT_H_ 1843 #endif // VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/object_graph_test.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698