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

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

Issue 1453983002: Add RPC and UI for reachable size of an object / all instances of a class. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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
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/atomic.h" 9 #include "vm/atomic.h"
10 #include "vm/globals.h" 10 #include "vm/globals.h"
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 friend class Object; 607 friend class Object;
608 friend class OneByteString; // StoreSmi 608 friend class OneByteString; // StoreSmi
609 friend class RawCode; 609 friend class RawCode;
610 friend class RawExternalTypedData; 610 friend class RawExternalTypedData;
611 friend class RawInstructions; 611 friend class RawInstructions;
612 friend class RawInstance; 612 friend class RawInstance;
613 friend class RawTypedData; 613 friend class RawTypedData;
614 friend class Scavenger; 614 friend class Scavenger;
615 friend class ScavengerVisitor; 615 friend class ScavengerVisitor;
616 friend class SizeExcludingClassVisitor; // GetClassId 616 friend class SizeExcludingClassVisitor; // GetClassId
617 friend class InstanceAccumulator; // GetClassId
617 friend class RetainingPathVisitor; // GetClassId 618 friend class RetainingPathVisitor; // GetClassId
618 friend class SkippedCodeFunctions; // StorePointer 619 friend class SkippedCodeFunctions; // StorePointer
619 friend class InstructionsReader; // tags_ check 620 friend class InstructionsReader; // tags_ check
620 friend class InstructionsWriter; 621 friend class InstructionsWriter;
621 friend class SnapshotReader; 622 friend class SnapshotReader;
622 friend class SnapshotWriter; 623 friend class SnapshotWriter;
623 friend class String; 624 friend class String;
624 friend class TypedData; 625 friend class TypedData;
625 friend class TypedDataView; 626 friend class TypedDataView;
626 friend class WeakProperty; // StorePointer 627 friend class WeakProperty; // StorePointer
(...skipping 1639 matching lines...) Expand 10 before | Expand all | Expand 10 after
2266 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == 2267 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid ==
2267 kTypedDataInt8ArrayViewCid + 15); 2268 kTypedDataInt8ArrayViewCid + 15);
2268 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); 2269 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14);
2269 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); 2270 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1);
2270 return (kNullCid - kTypedDataInt8ArrayCid); 2271 return (kNullCid - kTypedDataInt8ArrayCid);
2271 } 2272 }
2272 2273
2273 } // namespace dart 2274 } // namespace dart
2274 2275
2275 #endif // VM_RAW_OBJECT_H_ 2276 #endif // VM_RAW_OBJECT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698