Index: Source/platform/heap/HeapTest.cpp |
diff --git a/Source/platform/heap/HeapTest.cpp b/Source/platform/heap/HeapTest.cpp |
index 3c829b2aae2c28de7c75df3675e0c1935e009147..d82dc35c5749d7f9fc6b4ccaaf6a405a80fecb27 100644 |
--- a/Source/platform/heap/HeapTest.cpp |
+++ b/Source/platform/heap/HeapTest.cpp |
@@ -1800,6 +1800,8 @@ |
EXPECT_EQ(1, SimpleFinalizedObject::s_destructorCalls); |
} |
+// FIXME: Lazy sweeping is disabled in non-oilpan builds. |
+#if ENABLE(OILPAN) |
TEST(HeapTest, LazySweepingPages) |
{ |
clearOutOldGarbage(); |
@@ -1838,6 +1840,7 @@ |
Heap::collectGarbage(ThreadState::NoHeapPointersOnStack, ThreadState::GCWithSweep, Heap::ForcedGC); |
EXPECT_EQ(22, LargeHeapObject::s_destructorCalls); |
} |
+#endif |
TEST(HeapTest, Finalization) |
{ |