| OLD | NEW |
| 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 959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 970 HeapEntry* AddEntry( | 970 HeapEntry* AddEntry( |
| 971 HeapObject* object, int children_count, int retainers_count); | 971 HeapObject* object, int children_count, int retainers_count); |
| 972 HeapEntry* AddEntry(HeapObject* object, | 972 HeapEntry* AddEntry(HeapObject* object, |
| 973 HeapEntry::Type type, | 973 HeapEntry::Type type, |
| 974 const char* name, | 974 const char* name, |
| 975 int children_count, | 975 int children_count, |
| 976 int retainers_count); | 976 int retainers_count); |
| 977 const char* GetSystemEntryName(HeapObject* object); | 977 const char* GetSystemEntryName(HeapObject* object); |
| 978 | 978 |
| 979 void ExtractReferences(HeapObject* obj); | 979 void ExtractReferences(HeapObject* obj); |
| 980 void ExtractJSGlobalProxy(JSGlobalProxy* proxy); | 980 void ExtractJSGlobalProxyReferences(JSGlobalProxy* proxy); |
| 981 void ExtractJSObject(HeapEntry* entry, JSObject* js_obj); | 981 void ExtractJSObjectReferences(HeapEntry* entry, JSObject* js_obj); |
| 982 void ExtractString(HeapEntry* entry, String* obj); | 982 void ExtractStringReferences(HeapEntry* entry, String* obj); |
| 983 void ExtractContext(HeapEntry* entry, Context* context); | 983 void ExtractContextReferences(HeapEntry* entry, Context* context); |
| 984 void ExtractMap(HeapEntry* entry, Map* map); | 984 void ExtractMapReferences(HeapEntry* entry, Map* map); |
| 985 void ExtractSharedFunctionInfo(HeapEntry* entry, SharedFunctionInfo* shared); | 985 void ExtractSharedFunctionInfoReferences(HeapEntry* entry, |
| 986 void ExtractScript(HeapEntry* entry, Script* script); | 986 SharedFunctionInfo* shared); |
| 987 void ExtractCodeCache(HeapEntry* entry, CodeCache* code_cache); | 987 void ExtractScriptReferences(HeapEntry* entry, Script* script); |
| 988 void ExtractCode(HeapEntry* entry, Code* code); | 988 void ExtractCodeCacheReferences(HeapEntry* entry, CodeCache* code_cache); |
| 989 void ExtractCodeReferences(HeapEntry* entry, Code* code); |
| 990 void ExtractJSGlobalPropertyCellReferences(HeapEntry* entry, |
| 991 JSGlobalPropertyCell* cell); |
| 989 void ExtractClosureReferences(JSObject* js_obj, HeapEntry* entry); | 992 void ExtractClosureReferences(JSObject* js_obj, HeapEntry* entry); |
| 990 void ExtractPropertyReferences(JSObject* js_obj, HeapEntry* entry); | 993 void ExtractPropertyReferences(JSObject* js_obj, HeapEntry* entry); |
| 991 void ExtractElementReferences(JSObject* js_obj, HeapEntry* entry); | 994 void ExtractElementReferences(JSObject* js_obj, HeapEntry* entry); |
| 992 void ExtractInternalReferences(JSObject* js_obj, HeapEntry* entry); | 995 void ExtractInternalReferences(JSObject* js_obj, HeapEntry* entry); |
| 993 bool IsEssentialObject(Object* object); | 996 bool IsEssentialObject(Object* object); |
| 994 void SetClosureReference(HeapObject* parent_obj, | 997 void SetClosureReference(HeapObject* parent_obj, |
| 995 HeapEntry* parent, | 998 HeapEntry* parent, |
| 996 String* reference_name, | 999 String* reference_name, |
| 997 Object* child); | 1000 Object* child); |
| 998 void SetNativeBindReference(HeapObject* parent_obj, | 1001 void SetNativeBindReference(HeapObject* parent_obj, |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1206 | 1209 |
| 1207 friend class HeapSnapshotJSONSerializerEnumerator; | 1210 friend class HeapSnapshotJSONSerializerEnumerator; |
| 1208 friend class HeapSnapshotJSONSerializerIterator; | 1211 friend class HeapSnapshotJSONSerializerIterator; |
| 1209 | 1212 |
| 1210 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); | 1213 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); |
| 1211 }; | 1214 }; |
| 1212 | 1215 |
| 1213 } } // namespace v8::internal | 1216 } } // namespace v8::internal |
| 1214 | 1217 |
| 1215 #endif // V8_PROFILE_GENERATOR_H_ | 1218 #endif // V8_PROFILE_GENERATOR_H_ |
| OLD | NEW |