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 907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
918 int parent, | 918 int parent, |
919 int index, | 919 int index, |
920 Object* child_obj, | 920 Object* child_obj, |
921 int field_offset); | 921 int field_offset); |
922 void SetPropertyReference(HeapObject* parent_obj, | 922 void SetPropertyReference(HeapObject* parent_obj, |
923 int parent, | 923 int parent, |
924 String* reference_name, | 924 String* reference_name, |
925 Object* child, | 925 Object* child, |
926 const char* name_format_string = NULL, | 926 const char* name_format_string = NULL, |
927 int field_offset = -1); | 927 int field_offset = -1); |
928 void SetPropertyShortcutReference(HeapObject* parent_obj, | |
929 int parent, | |
930 String* reference_name, | |
931 Object* child); | |
932 void SetUserGlobalReference(Object* user_global); | 928 void SetUserGlobalReference(Object* user_global); |
933 void SetRootGcRootsReference(); | 929 void SetRootGcRootsReference(); |
934 void SetGcRootsReference(VisitorSynchronization::SyncTag tag); | 930 void SetGcRootsReference(VisitorSynchronization::SyncTag tag); |
935 void SetGcSubrootReference( | 931 void SetGcSubrootReference( |
936 VisitorSynchronization::SyncTag tag, bool is_weak, Object* child); | 932 VisitorSynchronization::SyncTag tag, bool is_weak, Object* child); |
937 const char* GetStrongGcSubrootName(Object* object); | 933 const char* GetStrongGcSubrootName(Object* object); |
938 void TagObject(Object* obj, const char* tag); | 934 void TagObject(Object* obj, const char* tag); |
939 | 935 |
940 HeapEntry* GetEntry(Object* obj); | 936 HeapEntry* GetEntry(Object* obj); |
941 | 937 |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1095 | 1091 |
1096 friend class HeapSnapshotJSONSerializerEnumerator; | 1092 friend class HeapSnapshotJSONSerializerEnumerator; |
1097 friend class HeapSnapshotJSONSerializerIterator; | 1093 friend class HeapSnapshotJSONSerializerIterator; |
1098 | 1094 |
1099 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); | 1095 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); |
1100 }; | 1096 }; |
1101 | 1097 |
1102 } } // namespace v8::internal | 1098 } } // namespace v8::internal |
1103 | 1099 |
1104 #endif // V8_PROFILE_GENERATOR_H_ | 1100 #endif // V8_PROFILE_GENERATOR_H_ |
OLD | NEW |