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 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1014 void SetPropertyReference(HeapObject* parent_obj, | 1014 void SetPropertyReference(HeapObject* parent_obj, |
1015 HeapEntry* parent, | 1015 HeapEntry* parent, |
1016 String* reference_name, | 1016 String* reference_name, |
1017 Object* child, | 1017 Object* child, |
1018 const char* name_format_string = NULL, | 1018 const char* name_format_string = NULL, |
1019 int field_offset = -1); | 1019 int field_offset = -1); |
1020 void SetPropertyShortcutReference(HeapObject* parent_obj, | 1020 void SetPropertyShortcutReference(HeapObject* parent_obj, |
1021 HeapEntry* parent, | 1021 HeapEntry* parent, |
1022 String* reference_name, | 1022 String* reference_name, |
1023 Object* child); | 1023 Object* child); |
1024 void SetWindowReference(Object* window); | 1024 void SetUserGlobalReference(Object* window); |
1025 void SetRootGcRootsReference(); | 1025 void SetRootGcRootsReference(); |
1026 void SetGcRootsReference(VisitorSynchronization::SyncTag tag); | 1026 void SetGcRootsReference(VisitorSynchronization::SyncTag tag); |
1027 void SetGcSubrootReference( | 1027 void SetGcSubrootReference( |
1028 VisitorSynchronization::SyncTag tag, bool is_weak, Object* child); | 1028 VisitorSynchronization::SyncTag tag, bool is_weak, Object* child); |
1029 void SetObjectName(HeapObject* object); | 1029 void SetObjectName(HeapObject* object); |
1030 void TagObject(Object* obj, const char* tag); | 1030 void TagObject(Object* obj, const char* tag); |
1031 | 1031 |
1032 HeapEntry* GetEntry(Object* obj); | 1032 HeapEntry* GetEntry(Object* obj); |
1033 | 1033 |
1034 static inline HeapObject* GetNthGcSubrootObject(int delta); | 1034 static inline HeapObject* GetNthGcSubrootObject(int delta); |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1193 | 1193 |
1194 friend class HeapSnapshotJSONSerializerEnumerator; | 1194 friend class HeapSnapshotJSONSerializerEnumerator; |
1195 friend class HeapSnapshotJSONSerializerIterator; | 1195 friend class HeapSnapshotJSONSerializerIterator; |
1196 | 1196 |
1197 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); | 1197 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); |
1198 }; | 1198 }; |
1199 | 1199 |
1200 } } // namespace v8::internal | 1200 } } // namespace v8::internal |
1201 | 1201 |
1202 #endif // V8_PROFILE_GENERATOR_H_ | 1202 #endif // V8_PROFILE_GENERATOR_H_ |
OLD | NEW |