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

Side by Side Diff: src/profile-generator.h

Issue 10217001: Add field names to Code, ConsString, and JSGlobalPropertyCell in heap snapshot. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 8 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 | « no previous file | src/profile-generator.cc » ('j') | src/profile-generator.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 void ExtractReferences(HeapObject* obj); 979 void ExtractReferences(HeapObject* obj);
980 void ExtractJSGlobalProxy(JSGlobalProxy* proxy); 980 void ExtractJSGlobalProxy(JSGlobalProxy* proxy);
981 void ExtractJSObject(HeapEntry* entry, JSObject* js_obj); 981 void ExtractJSObject(HeapEntry* entry, JSObject* js_obj);
982 void ExtractString(HeapEntry* entry, String* obj); 982 void ExtractString(HeapEntry* entry, String* obj);
983 void ExtractContext(HeapEntry* entry, Context* context); 983 void ExtractContext(HeapEntry* entry, Context* context);
984 void ExtractMap(HeapEntry* entry, Map* map); 984 void ExtractMap(HeapEntry* entry, Map* map);
985 void ExtractSharedFunctionInfo(HeapEntry* entry, SharedFunctionInfo* shared); 985 void ExtractSharedFunctionInfo(HeapEntry* entry, SharedFunctionInfo* shared);
986 void ExtractScript(HeapEntry* entry, Script* script); 986 void ExtractScript(HeapEntry* entry, Script* script);
987 void ExtractCodeCache(HeapEntry* entry, CodeCache* code_cache); 987 void ExtractCodeCache(HeapEntry* entry, CodeCache* code_cache);
988 void ExtractCode(HeapEntry* entry, Code* code); 988 void ExtractCode(HeapEntry* entry, Code* code);
989 void ExtractJSGlobalPropertyCell(HeapEntry* entry,
990 JSGlobalPropertyCell* cell);
989 void ExtractClosureReferences(JSObject* js_obj, HeapEntry* entry); 991 void ExtractClosureReferences(JSObject* js_obj, HeapEntry* entry);
990 void ExtractPropertyReferences(JSObject* js_obj, HeapEntry* entry); 992 void ExtractPropertyReferences(JSObject* js_obj, HeapEntry* entry);
991 void ExtractElementReferences(JSObject* js_obj, HeapEntry* entry); 993 void ExtractElementReferences(JSObject* js_obj, HeapEntry* entry);
992 void ExtractInternalReferences(JSObject* js_obj, HeapEntry* entry); 994 void ExtractInternalReferences(JSObject* js_obj, HeapEntry* entry);
993 bool IsEssentialObject(Object* object); 995 bool IsEssentialObject(Object* object);
994 void SetClosureReference(HeapObject* parent_obj, 996 void SetClosureReference(HeapObject* parent_obj,
995 HeapEntry* parent, 997 HeapEntry* parent,
996 String* reference_name, 998 String* reference_name,
997 Object* child); 999 Object* child);
998 void SetNativeBindReference(HeapObject* parent_obj, 1000 void SetNativeBindReference(HeapObject* parent_obj,
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
1206 1208
1207 friend class HeapSnapshotJSONSerializerEnumerator; 1209 friend class HeapSnapshotJSONSerializerEnumerator;
1208 friend class HeapSnapshotJSONSerializerIterator; 1210 friend class HeapSnapshotJSONSerializerIterator;
1209 1211
1210 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); 1212 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer);
1211 }; 1213 };
1212 1214
1213 } } // namespace v8::internal 1215 } } // namespace v8::internal
1214 1216
1215 #endif // V8_PROFILE_GENERATOR_H_ 1217 #endif // V8_PROFILE_GENERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | src/profile-generator.cc » ('j') | src/profile-generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698