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

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

Issue 946483002: [Oilpan] Change a test behavior (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | no next file » | 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 79e25f767bf12dfd6ed8c57171a5c4b96aef1471..1ddccb4f20387b3cd9f8a3162553db713d0ad985 100644
--- a/Source/platform/heap/HeapTest.cpp
+++ b/Source/platform/heap/HeapTest.cpp
@@ -5459,7 +5459,8 @@ public:
void trace(Visitor* visitor)
{
int calls = ++sTraceCalls;
- visitor->trace(m_next);
+ if (sTraceLazy <= 2)
haraken 2015/02/20 20:15:31 Can we add a comment on this?
peria 2015/02/23 02:42:09 This patch has been committed, so I'll do it in an
+ visitor->trace(m_next);
if (sTraceCalls == calls)
sTraceLazy++;
}
@@ -5477,7 +5478,7 @@ TEST(HeapTest, TraceDeepEagerly)
{
#if !ENABLE(ASSERT)
DeepEagerly* obj = nullptr;
- for (int i = 0; i < 10000; i++)
+ for (int i = 0; i < 10000000; i++)
obj = new DeepEagerly(obj);
Persistent<DeepEagerly> persistent(obj);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698