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 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 | 682 |
683 HeapSnapshotsCollection* collection_; | 683 HeapSnapshotsCollection* collection_; |
684 const char* title_; | 684 const char* title_; |
685 unsigned uid_; | 685 unsigned uid_; |
686 int root_entry_index_; | 686 int root_entry_index_; |
687 char* raw_entries_; | 687 char* raw_entries_; |
688 List<HeapEntry*> entries_; | 688 List<HeapEntry*> entries_; |
689 bool entries_sorted_; | 689 bool entries_sorted_; |
690 List<HeapEntryCalculatedData> calculated_data_; | 690 List<HeapEntryCalculatedData> calculated_data_; |
691 | 691 |
| 692 friend class HeapSnapshotTester; |
| 693 |
692 DISALLOW_COPY_AND_ASSIGN(HeapSnapshot); | 694 DISALLOW_COPY_AND_ASSIGN(HeapSnapshot); |
693 }; | 695 }; |
694 | 696 |
695 | 697 |
696 class HeapObjectsMap { | 698 class HeapObjectsMap { |
697 public: | 699 public: |
698 HeapObjectsMap(); | 700 HeapObjectsMap(); |
699 ~HeapObjectsMap(); | 701 ~HeapObjectsMap(); |
700 | 702 |
701 void SnapshotGenerationFinished(); | 703 void SnapshotGenerationFinished(); |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
943 friend class IndexedReferencesExtractor; | 945 friend class IndexedReferencesExtractor; |
944 | 946 |
945 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotGenerator); | 947 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotGenerator); |
946 }; | 948 }; |
947 | 949 |
948 } } // namespace v8::internal | 950 } } // namespace v8::internal |
949 | 951 |
950 #endif // ENABLE_LOGGING_AND_PROFILING | 952 #endif // ENABLE_LOGGING_AND_PROFILING |
951 | 953 |
952 #endif // V8_PROFILE_GENERATOR_H_ | 954 #endif // V8_PROFILE_GENERATOR_H_ |
OLD | NEW |