Revision: 24091
Author:   [email protected]
Date:     Fri Sep 19 14:19:26 2014 UTC
Log:      Fix test: manually call GC since 0 allocations will not cause GC

BUG=
[email protected]

Review URL: https://codereview.chromium.org/587663003
https://code.google.com/p/v8/source/detail?r=24091

Modified:
 /branches/bleeding_edge/test/cctest/test-heap.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-heap.cc Fri Sep 19 09:15:47 2014 UTC +++ /branches/bleeding_edge/test/cctest/test-heap.cc Fri Sep 19 14:19:26 2014 UTC
@@ -2861,6 +2861,7 @@

   root = GetByName("root");
   AddPropertyTo(0, root, "prop9");
+  CcTest::i_isolate()->heap()->CollectGarbage(OLD_POINTER_SPACE);

// Count number of live transitions after marking. Note that one transition
   // is left, because 'o' still holds an instance of one transition target.

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to