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

Unified Diff: src/heap/mark-compact.h

Issue 1382003002: [heap] Divide available memory upon compaction tasks (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@counters
Patch Set: Rebase + addressed comment Created 5 years, 2 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/mark-compact.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/mark-compact.h
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h
index 527800f4d181bec8b8726328bb0aaed86a8adb19..da75d6c983c983518e88893d6ed520db9ff76080 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -466,8 +466,6 @@ class MarkCompactCollector {
// return true if the sweeper threads are done processing the pages.
bool IsSweepingCompleted();
- void RefillFreeList(PagedSpace* space);
-
// Checks if sweeping is in progress right now on any space.
bool sweeping_in_progress() { return sweeping_in_progress_; }
@@ -512,6 +510,20 @@ class MarkCompactCollector {
// address range.
void RemoveObjectSlots(Address start_slot, Address end_slot);
+ //
+ // Free lists filled by sweeper and consumed by corresponding spaces
+ // (including compaction spaces).
+ //
+ base::SmartPointer<FreeList>& free_list_old_space() {
+ return free_list_old_space_;
+ }
+ base::SmartPointer<FreeList>& free_list_code_space() {
+ return free_list_code_space_;
+ }
+ base::SmartPointer<FreeList>& free_list_map_space() {
+ return free_list_map_space_;
+ }
+
private:
class CompactionTask;
class SweeperTask;
« no previous file with comments | « no previous file | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698