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

Unified Diff: test/cctest/test-mark-compact.cc

Issue 3615009: Parallelize marking phase of mark-sweep/compact collection cycle. (Closed)
Patch Set: Created 10 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 | « test/cctest/test-heap.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-mark-compact.cc
diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc
index e4ac1b7c576b066384f379d6138211983435be60..d782fa3572b7be9d137a10671cd963be84ef4ab9 100644
--- a/test/cctest/test-mark-compact.cc
+++ b/test/cctest/test-mark-compact.cc
@@ -45,31 +45,6 @@ static void InitializeVM() {
}
-TEST(MarkingStack) {
- int mem_size = 20 * kPointerSize;
- byte* mem = NewArray<byte>(20*kPointerSize);
- Address low = reinterpret_cast<Address>(mem);
- Address high = low + mem_size;
- MarkingStack s;
- s.Initialize(low, high);
-
- Address address = NULL;
- while (!s.is_full()) {
- s.Push(HeapObject::FromAddress(address));
- address += kPointerSize;
- }
-
- while (!s.is_empty()) {
- Address value = s.Pop()->address();
- address -= kPointerSize;
- CHECK_EQ(address, value);
- }
-
- CHECK_EQ(NULL, address);
- DeleteArray(mem);
-}
-
-
TEST(Promotion) {
// Ensure that we get a compacting collection so that objects are promoted
// from new space.
« no previous file with comments | « test/cctest/test-heap.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698