Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(469)

Side by Side Diff: src/profile-generator.h

Issue 7247018: Remove obsolete aggregating and non-working producers heap profilers. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 class HeapSnapshotsCollection; 631 class HeapSnapshotsCollection;
632 632
633 // HeapSnapshot represents a single heap snapshot. It is stored in 633 // HeapSnapshot represents a single heap snapshot. It is stored in
634 // HeapSnapshotsCollection, which is also a factory for 634 // HeapSnapshotsCollection, which is also a factory for
635 // HeapSnapshots. All HeapSnapshots share strings copied from JS heap 635 // HeapSnapshots. All HeapSnapshots share strings copied from JS heap
636 // to be able to return them even if they were collected. 636 // to be able to return them even if they were collected.
637 // HeapSnapshotGenerator fills in a HeapSnapshot. 637 // HeapSnapshotGenerator fills in a HeapSnapshot.
638 class HeapSnapshot { 638 class HeapSnapshot {
639 public: 639 public:
640 enum Type { 640 enum Type {
641 kFull = v8::HeapSnapshot::kFull, 641 kFull = v8::HeapSnapshot::kFull
642 kAggregated = v8::HeapSnapshot::kAggregated
643 }; 642 };
644 643
645 HeapSnapshot(HeapSnapshotsCollection* collection, 644 HeapSnapshot(HeapSnapshotsCollection* collection,
646 Type type, 645 Type type,
647 const char* title, 646 const char* title,
648 unsigned uid); 647 unsigned uid);
649 ~HeapSnapshot(); 648 ~HeapSnapshot();
650 void Delete(); 649 void Delete();
651 650
652 HeapSnapshotsCollection* collection() { return collection_; } 651 HeapSnapshotsCollection* collection() { return collection_; }
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
1121 }; 1120 };
1122 1121
1123 1122
1124 String* GetConstructorNameForHeapProfile(JSObject* object); 1123 String* GetConstructorNameForHeapProfile(JSObject* object);
1125 1124
1126 } } // namespace v8::internal 1125 } } // namespace v8::internal
1127 1126
1128 #endif // ENABLE_LOGGING_AND_PROFILING 1127 #endif // ENABLE_LOGGING_AND_PROFILING
1129 1128
1130 #endif // V8_PROFILE_GENERATOR_H_ 1129 #endif // V8_PROFILE_GENERATOR_H_
OLDNEW
« src/api.cc ('K') | « src/log.cc ('k') | test/cctest/test-heap-profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698