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

Unified Diff: test/cctest/heap/heap-utils.cc

Issue 2028503003: Revert of Reland "[heap] Fine-grained JSArrayBuffer tracking" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
« no previous file with comments | « test/cctest/heap/heap-utils.h ('k') | test/cctest/heap/test-array-buffer-tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/heap/heap-utils.cc
diff --git a/test/cctest/heap/heap-utils.cc b/test/cctest/heap/heap-utils.cc
index 8abc5c3b5c63d2e863080effda3d2c0a69a2396a..e6daa454417ab5b78d87873e4420ea61b372522a 100644
--- a/test/cctest/heap/heap-utils.cc
+++ b/test/cctest/heap/heap-utils.cc
@@ -141,21 +141,6 @@
space->ClearStats();
}
-void AbandonCurrentlyFreeMemory(PagedSpace* space) {
- space->EmptyAllocationInfo();
- PageIterator pit(space);
- while (pit.has_next()) {
- pit.next()->MarkNeverAllocateForTesting();
- }
-}
-
-void GcAndSweep(Heap* heap, AllocationSpace space) {
- heap->CollectGarbage(space);
- if (heap->mark_compact_collector()->sweeping_in_progress()) {
- heap->mark_compact_collector()->EnsureSweepingCompleted();
- }
-}
-
} // namespace heap
} // namespace internal
} // namespace v8
« no previous file with comments | « test/cctest/heap/heap-utils.h ('k') | test/cctest/heap/test-array-buffer-tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698