Revision: 11925
Author: [email protected]
Date: Mon Jun 25 06:55:36 2012
Log: Update heap test so it calls gc 6 times. This is necessary to
avoid flakiness.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10668022
http://code.google.com/p/v8/source/detail?r=11925
Modified:
/branches/bleeding_edge/test/cctest/test-heap-profiler.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-heap-profiler.cc Wed Jun 6
03:57:20 2012
+++ /branches/bleeding_edge/test/cctest/test-heap-profiler.cc Mon Jun 25
06:55:36 2012
@@ -714,9 +714,9 @@
LocalContext env;
v8::HeapProfiler::StartHeapObjectsTracking();
- // We have to call GC 5 times. In other case the garbage will be
+ // We have to call GC 6 times. In other case the garbage will be
// the reason of flakiness.
- for (int i = 0; i < 5; ++i) {
+ for (int i = 0; i < 6; ++i) {
HEAP->CollectAllGarbage(i::Heap::kNoGCFlags);
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev