| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 966 String* reference_name, | 966 String* reference_name, |
| 967 Object* child, | 967 Object* child, |
| 968 int field_offset = -1); | 968 int field_offset = -1); |
| 969 void SetPropertyShortcutReference(HeapObject* parent_obj, | 969 void SetPropertyShortcutReference(HeapObject* parent_obj, |
| 970 HeapEntry* parent, | 970 HeapEntry* parent, |
| 971 String* reference_name, | 971 String* reference_name, |
| 972 Object* child); | 972 Object* child); |
| 973 void SetRootShortcutReference(Object* child); | 973 void SetRootShortcutReference(Object* child); |
| 974 void SetRootGcRootsReference(); | 974 void SetRootGcRootsReference(); |
| 975 void SetGcRootsReference(Object* child); | 975 void SetGcRootsReference(Object* child); |
| 976 bool TagByteArray(Object* maybe_array, const char* tag); |
| 977 bool TagFixedArray(Object* maybe_array, const char* tag); |
| 978 bool TagFixedDoubleArray(Object* maybe_array, const char* tag); |
| 976 | 979 |
| 977 HeapEntry* GetEntry(Object* obj); | 980 HeapEntry* GetEntry(Object* obj); |
| 978 | 981 |
| 982 Heap* heap_; |
| 979 HeapSnapshot* snapshot_; | 983 HeapSnapshot* snapshot_; |
| 980 HeapSnapshotsCollection* collection_; | 984 HeapSnapshotsCollection* collection_; |
| 981 SnapshottingProgressReportingInterface* progress_; | 985 SnapshottingProgressReportingInterface* progress_; |
| 982 SnapshotFillerInterface* filler_; | 986 SnapshotFillerInterface* filler_; |
| 983 HeapObjectsSet objects_tags_; | 987 HeapObjectsSet objects_tags_; |
| 984 | 988 |
| 985 static HeapObject* const kGcRootsObject; | 989 static HeapObject* const kGcRootsObject; |
| 986 | 990 |
| 987 friend class IndexedReferencesExtractor; | 991 friend class IndexedReferencesExtractor; |
| 988 friend class RootsReferencesExtractor; | 992 friend class RootsReferencesExtractor; |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1120 }; | 1124 }; |
| 1121 | 1125 |
| 1122 | 1126 |
| 1123 String* GetConstructorNameForHeapProfile(JSObject* object); | 1127 String* GetConstructorNameForHeapProfile(JSObject* object); |
| 1124 | 1128 |
| 1125 } } // namespace v8::internal | 1129 } } // namespace v8::internal |
| 1126 | 1130 |
| 1127 #endif // ENABLE_LOGGING_AND_PROFILING | 1131 #endif // ENABLE_LOGGING_AND_PROFILING |
| 1128 | 1132 |
| 1129 #endif // V8_PROFILE_GENERATOR_H_ | 1133 #endif // V8_PROFILE_GENERATOR_H_ |
| OLD | NEW |