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

Unified Diff: src/heap/heap.h

Issue 1289963006: [heap] Remove obsolete Heap::sweep_generation field. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-includes-everywhere
Patch Set: Drop bogus dependency. Created 5 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 | « no previous file | src/heap/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.h
diff --git a/src/heap/heap.h b/src/heap/heap.h
index 4b26b6c5169a59ca6dfc61ea63f86a4795b3d543..a4e3256e94c4fe6e7c94b10c856c5c7a808991cc 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -949,7 +949,7 @@ class Heap {
Object* encountered_weak_cells() const { return encountered_weak_cells_; }
// Number of mark-sweeps.
- unsigned int ms_count() { return ms_count_; }
+ int ms_count() const { return ms_count_; }
// Iterates over all roots in the heap.
void IterateRoots(ObjectVisitor* v, VisitMode mode);
@@ -1419,9 +1419,6 @@ class Heap {
return &external_string_table_;
}
- // Returns the current sweep generation.
- int sweep_generation() { return sweep_generation_; }
-
bool concurrent_sweeping_enabled() { return concurrent_sweeping_enabled_; }
inline Isolate* isolate();
@@ -1702,9 +1699,6 @@ class Heap {
// ... and since the last scavenge.
int survived_last_scavenge_;
- // For keeping track on when to flush RegExp code.
- int sweep_generation_;
-
int always_allocate_scope_depth_;
// For keeping track of context disposals.
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698