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

Unified Diff: src/profile-generator.h

Issue 7650010: Avoid some crashes when running without snapshots. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects.h ('k') | src/profile-generator.cc » ('j') | src/runtime.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/profile-generator.h
diff --git a/src/profile-generator.h b/src/profile-generator.h
index 3d2011718eddfb64a88a1bf90e037ac66b3c4703..b3e92ec0b591ec0de65dff2ce22d9581b6455f93 100644
--- a/src/profile-generator.h
+++ b/src/profile-generator.h
@@ -1,4 +1,4 @@
-// Copyright 2010 the V8 project authors. All rights reserved.
+// Copyright 2011 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
@@ -921,8 +921,7 @@ class V8HeapExplorer : public HeapEntriesAllocator {
HeapThing ptr, int children_count, int retainers_count);
void AddRootEntries(SnapshotFillerInterface* filler);
int EstimateObjectsCount(HeapIterator* iterator);
- bool IterateAndExtractReferences(HeapIterator* iterator,
- SnapshotFillerInterface* filler);
+ bool IterateAndExtractReferences(SnapshotFillerInterface* filler);
void TagGlobalObjects();
static HeapObject* const kInternalRootObject;
@@ -1053,13 +1052,13 @@ class HeapSnapshotGenerator : public SnapshottingProgressReportingInterface {
bool ApproximateRetainedSizes();
bool BuildDominatorTree(const Vector<HeapEntry*>& entries,
Vector<HeapEntry*>* dominators);
- bool CountEntriesAndReferences(HeapIterator* iterator);
- bool FillReferences(HeapIterator* iterator);
+ bool CountEntriesAndReferences();
+ bool FillReferences();
void FillReversePostorderIndexes(Vector<HeapEntry*>* entries);
void ProgressStep();
bool ProgressReport(bool force = false);
bool SetEntriesDominators();
- void SetProgressTotal(HeapIterator* iterator, int iterations_count);
+ void SetProgressTotal(int iterations_count);
HeapSnapshot* snapshot_;
v8::ActivityControl* control_;
« no previous file with comments | « src/objects.h ('k') | src/profile-generator.cc » ('j') | src/runtime.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698