Reviewers: Jakob,

Message:
PTAL

Description:
Fix test: manually call GC since 0 allocations will not cause GC

BUG=

Please review this at https://codereview.chromium.org/587663003/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+1, -0 lines):
  M test/cctest/test-heap.cc


Index: test/cctest/test-heap.cc
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
index 9435eea2dd3c19190c66a5a5933f7dacf15c8a87..baa1e30b366ccc11f75fdf607616a883df063527 100644
--- a/test/cctest/test-heap.cc
+++ b/test/cctest/test-heap.cc
@@ -2861,6 +2861,7 @@ TEST(TransitionArrayShrinksDuringAllocToOnePropertyFound) {

   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