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

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

Issue 2502283003: Add a version of heap snapshots that use only fields and stack frames as roots and only include ins… (Closed)
Patch Set: . Created 4 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 RUNTIME_VM_RAW_OBJECT_H_ 5 #ifndef RUNTIME_VM_RAW_OBJECT_H_
6 #define RUNTIME_VM_RAW_OBJECT_H_ 6 #define RUNTIME_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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 friend class SnapshotWriter; 611 friend class SnapshotWriter;
612 friend class String; 612 friend class String;
613 friend class Type; // GetClassId 613 friend class Type; // GetClassId
614 friend class TypedData; 614 friend class TypedData;
615 friend class TypedDataView; 615 friend class TypedDataView;
616 friend class WeakProperty; // StorePointer 616 friend class WeakProperty; // StorePointer
617 friend class Instance; // StorePointer 617 friend class Instance; // StorePointer
618 friend class StackFrame; // GetCodeObject assertion. 618 friend class StackFrame; // GetCodeObject assertion.
619 friend class CodeLookupTableBuilder; // profiler 619 friend class CodeLookupTableBuilder; // profiler
620 friend class NativeEntry; // GetClassId 620 friend class NativeEntry; // GetClassId
621 friend class WritePointerVisitor; // GetClassId
621 friend class Simulator; 622 friend class Simulator;
622 friend class SimulatorHelpers; 623 friend class SimulatorHelpers;
623 friend class ObjectLocator; 624 friend class ObjectLocator;
624 friend class InstanceMorpher; // GetClassId 625 friend class InstanceMorpher; // GetClassId
625 friend class VerifyCanonicalVisitor; 626 friend class VerifyCanonicalVisitor;
626 627
627 DISALLOW_ALLOCATION(); 628 DISALLOW_ALLOCATION();
628 DISALLOW_IMPLICIT_CONSTRUCTORS(RawObject); 629 DISALLOW_IMPLICIT_CONSTRUCTORS(RawObject);
629 }; 630 };
630 631
(...skipping 1745 matching lines...) Expand 10 before | Expand all | Expand 10 after
2376 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == 2377 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid ==
2377 kTypedDataInt8ArrayViewCid + 15); 2378 kTypedDataInt8ArrayViewCid + 15);
2378 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); 2379 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14);
2379 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); 2380 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1);
2380 return (kNullCid - kTypedDataInt8ArrayCid); 2381 return (kNullCid - kTypedDataInt8ArrayCid);
2381 } 2382 }
2382 2383
2383 } // namespace dart 2384 } // namespace dart
2384 2385
2385 #endif // RUNTIME_VM_RAW_OBJECT_H_ 2386 #endif // RUNTIME_VM_RAW_OBJECT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698