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

Unified Diff: third_party/WebKit/Source/platform/heap/HeapCompact.cpp

Issue 2908463002: Enable heap compaction on all 'container' arenas. (Closed)
Patch Set: add checks for compaction being activated. Created 3 years, 7 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
Index: third_party/WebKit/Source/platform/heap/HeapCompact.cpp
diff --git a/third_party/WebKit/Source/platform/heap/HeapCompact.cpp b/third_party/WebKit/Source/platform/heap/HeapCompact.cpp
index b57922cac6de8eb35d591cc2cec9010e6b83cde7..1b06389cec5c1945e721359063fb49e73cf01130 100644
--- a/third_party/WebKit/Source/platform/heap/HeapCompact.cpp
+++ b/third_party/WebKit/Source/platform/heap/HeapCompact.cpp
@@ -384,7 +384,7 @@ void HeapCompact::UpdateHeapResidency(ThreadState* thread_state) {
if (!arena_size)
continue;
// Mark the arena as compactable.
- compactable_arenas_ |= (0x1u << (BlinkGC::kVector1ArenaIndex + i));
+ compactable_arenas_ |= 0x1u << i;
}
LOG_HEAP_FREELIST("}\nTotal = %zu, Free = %zu\n", total_arena_size,
total_free_list_size);
« no previous file with comments | « third_party/WebKit/Source/platform/heap/HeapCompact.h ('k') | third_party/WebKit/Source/platform/heap/HeapCompactTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698