Remove aggregated heap snapshots
authorAaron Kennedy <aaron.kennedy@nokia.com>
Tue, 11 Oct 2011 00:51:06 +0000 (10:51 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 11 Oct 2011 23:31:11 +0000 (01:31 +0200)
Newer versions of v8 only support full snapshots.

Change-Id: I2c6778579bdb2ec1cc38868bf4fa76ce3fbc1633
Reviewed-on: http://codereview.qt-project.org/6406
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Sanity-Review: Aaron Kennedy <aaron.kennedy@nokia.com>
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
src/declarative/debugger/qv8profilerservice.cpp

index 83bb700..0afa4fa 100644 (file)
@@ -163,9 +163,7 @@ void QV8ProfilerService::messageReceived(const QByteArray &message)
             QByteArray snapshotType;
             ds >> snapshotType;
 
-            if (snapshotType == "aggregated")
-                d->takeSnapshot(v8::HeapSnapshot::kAggregated);
-            else if (snapshotType == "full")
+            if (snapshotType == "full")
                 d->takeSnapshot(v8::HeapSnapshot::kFull);
         } else if (command == "deletesnapshots") {
             v8::HeapProfiler::DeleteAllSnapshots();