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

Unified Diff: Source/platform/heap/HeapTest.cpp

Issue 1055193004: Oilpan: Enable lazy sweeping on non-oilpan builds (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 | « Source/platform/heap/Heap.h ('k') | Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/HeapTest.cpp
diff --git a/Source/platform/heap/HeapTest.cpp b/Source/platform/heap/HeapTest.cpp
index d82dc35c5749d7f9fc6b4ccaaf6a405a80fecb27..3c829b2aae2c28de7c75df3675e0c1935e009147 100644
--- a/Source/platform/heap/HeapTest.cpp
+++ b/Source/platform/heap/HeapTest.cpp
@@ -1800,8 +1800,6 @@ TEST(HeapTest, SimpleFinalization)
EXPECT_EQ(1, SimpleFinalizedObject::s_destructorCalls);
}
-// FIXME: Lazy sweeping is disabled in non-oilpan builds.
-#if ENABLE(OILPAN)
TEST(HeapTest, LazySweepingPages)
{
clearOutOldGarbage();
@@ -1840,7 +1838,6 @@ TEST(HeapTest, LazySweepingLargeObjectPages)
Heap::collectGarbage(ThreadState::NoHeapPointersOnStack, ThreadState::GCWithSweep, Heap::ForcedGC);
EXPECT_EQ(22, LargeHeapObject::s_destructorCalls);
}
-#endif
TEST(HeapTest, Finalization)
{
« no previous file with comments | « Source/platform/heap/Heap.h ('k') | Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698