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 962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 void ExtractReferences(HeapObject* obj); | 978 void ExtractReferences(HeapObject* obj); |
979 void ExtractClosureReferences(JSObject* js_obj, HeapEntry* entry); | 979 void ExtractClosureReferences(JSObject* js_obj, HeapEntry* entry); |
980 void ExtractPropertyReferences(JSObject* js_obj, HeapEntry* entry); | 980 void ExtractPropertyReferences(JSObject* js_obj, HeapEntry* entry); |
981 void ExtractElementReferences(JSObject* js_obj, HeapEntry* entry); | 981 void ExtractElementReferences(JSObject* js_obj, HeapEntry* entry); |
982 void ExtractInternalReferences(JSObject* js_obj, HeapEntry* entry); | 982 void ExtractInternalReferences(JSObject* js_obj, HeapEntry* entry); |
| 983 bool IsEssentialObject(Object* object); |
983 void SetClosureReference(HeapObject* parent_obj, | 984 void SetClosureReference(HeapObject* parent_obj, |
984 HeapEntry* parent, | 985 HeapEntry* parent, |
985 String* reference_name, | 986 String* reference_name, |
986 Object* child); | 987 Object* child); |
987 void SetNativeBindReference(HeapObject* parent_obj, | 988 void SetNativeBindReference(HeapObject* parent_obj, |
988 HeapEntry* parent, | 989 HeapEntry* parent, |
989 const char* reference_name, | 990 const char* reference_name, |
990 Object* child); | 991 Object* child); |
991 void SetElementReference(HeapObject* parent_obj, | 992 void SetElementReference(HeapObject* parent_obj, |
992 HeapEntry* parent, | 993 HeapEntry* parent, |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1195 | 1196 |
1196 friend class HeapSnapshotJSONSerializerEnumerator; | 1197 friend class HeapSnapshotJSONSerializerEnumerator; |
1197 friend class HeapSnapshotJSONSerializerIterator; | 1198 friend class HeapSnapshotJSONSerializerIterator; |
1198 | 1199 |
1199 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); | 1200 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); |
1200 }; | 1201 }; |
1201 | 1202 |
1202 } } // namespace v8::internal | 1203 } } // namespace v8::internal |
1203 | 1204 |
1204 #endif // V8_PROFILE_GENERATOR_H_ | 1205 #endif // V8_PROFILE_GENERATOR_H_ |
OLD | NEW |