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

Side by Side Diff: vm/symbols.h

Issue 10827367: 1. Fix an issue with VM class names being null (this is exposed when doing a heap profile) (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 4 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 | « vm/object.cc ('k') | vm/symbols.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_SYMBOLS_H_ 5 #ifndef VM_SYMBOLS_H_
6 #define VM_SYMBOLS_H_ 6 #define VM_SYMBOLS_H_
7 7
8 #include "vm/object.h" 8 #include "vm/object.h"
9 #include "vm/snapshot_ids.h" 9 #include "vm/snapshot_ids.h"
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 V(ExceptionHandlers, "ExceptionHandlers") \ 77 V(ExceptionHandlers, "ExceptionHandlers") \
78 V(DeoptInfo, "DeoptInfo") \ 78 V(DeoptInfo, "DeoptInfo") \
79 V(Context, "Context") \ 79 V(Context, "Context") \
80 V(ContextScope, "ContextScope") \ 80 V(ContextScope, "ContextScope") \
81 V(ICData, "ICData") \ 81 V(ICData, "ICData") \
82 V(SubtypeTestCache, "SubtypeTestCache") \ 82 V(SubtypeTestCache, "SubtypeTestCache") \
83 V(ApiError, "ApiError") \ 83 V(ApiError, "ApiError") \
84 V(LanguageError, "LanguageError") \ 84 V(LanguageError, "LanguageError") \
85 V(UnhandledException, "UnhandledException") \ 85 V(UnhandledException, "UnhandledException") \
86 V(UnwindError, "UnwindError") \ 86 V(UnwindError, "UnwindError") \
87 V(IntegerImplementation, "IntegerImplementation") \
88 V(Smi, "Smi") \
89 V(Mint, "Mint") \
90 V(Bigint, "Bigint") \
91 V(Double, "Double") \
92 V(Bool, "Bool") \
93 V(ObjectArray, "ObjectArray") \
94 V(GrowableObjectArray, "GrowableObjectArray") \
95 V(ImmutableArray, "ImmutableArray") \
96 V(OneByteString, "OneByteString") \
97 V(TwoByteString, "TwoByteString") \
98 V(FourByteString, "FourByteString") \
99 V(ExternalOneByteString, "ExternalOneByteString") \
100 V(ExternalTwoByteString, "ExternalTwoByteString") \
101 V(ExternalFourByteString, "ExternalFourByteString") \
102 V(Stacktrace, "Stacktrace") \
103 V(JSSyntaxRegExp, "JSSyntaxRegExp") \
104 V(Object, "Object") \
105 V(_Int8Array, "_Int8Array") \
106 V(_Uint8Array, "_Uint8Array") \
107 V(_Int16Array, "_Int16Array") \
108 V(_Uint16Array, "_Uint16Array") \
109 V(_Int32Array, "_Int32Array") \
110 V(_Uint32Array, "_Uint32Array") \
111 V(_Int64Array, "_Int64Array") \
112 V(_Uint64Array, "_Uint64Array") \
113 V(_Float32Array, "_Float32Array") \
114 V(_Float64Array, "_Float64Array") \
115 V(_ExternalInt8Array, "_ExternalInt8Array") \
116 V(_ExternalUint8Array, "_ExternalUint8Array") \
117 V(_ExternalInt16Array, "_ExternalInt16Array") \
118 V(_ExternalUint16Array, "_ExternalUint16Array") \
119 V(_ExternalInt32Array, "_ExternalInt32Array") \
120 V(_ExternalUint32Array, "_ExternalUint32Array") \
121 V(_ExternalInt64Array, "_ExternalInt64Array") \
122 V(_ExternalUint64Array, "_ExternalUint64Array") \
123 V(_ExternalFloat32Array, "_ExternalFloat32Array") \
124 V(_ExternalFloat64Array, "_ExternalFloat64Array") \
87 125
88 // Contains a list of frequently used strings in a canonicalized form. This 126 // Contains a list of frequently used strings in a canonicalized form. This
89 // list is kept in the vm_isolate in order to share the copy across isolates 127 // list is kept in the vm_isolate in order to share the copy across isolates
90 // without having to maintain copies in each isolate. 128 // without having to maintain copies in each isolate.
91 class Symbols : public AllStatic { 129 class Symbols : public AllStatic {
92 public: 130 public:
93 // List of strings that are pre created in the vm isolate. 131 // List of strings that are pre created in the vm isolate.
94 enum { 132 enum {
95 kIllegal = 0, 133 kIllegal = 0,
96 134
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 friend class SnapshotReader; 207 friend class SnapshotReader;
170 friend class SnapshotWriter; 208 friend class SnapshotWriter;
171 friend class ApiMessageReader; 209 friend class ApiMessageReader;
172 210
173 DISALLOW_COPY_AND_ASSIGN(Symbols); 211 DISALLOW_COPY_AND_ASSIGN(Symbols);
174 }; 212 };
175 213
176 } // namespace dart 214 } // namespace dart
177 215
178 #endif // VM_SYMBOLS_H_ 216 #endif // VM_SYMBOLS_H_
OLDNEW
« no previous file with comments | « vm/object.cc ('k') | vm/symbols.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698