Revision: 24600
Author:   [email protected]
Date:     Tue Oct 14 12:21:18 2014 UTC
Log:      Fix de/serialization tests after r24592

[email protected]

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

Modified:
 /branches/bleeding_edge/src/mksnapshot.cc
 /branches/bleeding_edge/test/cctest/test-serialize.cc

=======================================
--- /branches/bleeding_edge/src/mksnapshot.cc   Thu Sep 25 07:32:13 2014 UTC
+++ /branches/bleeding_edge/src/mksnapshot.cc   Tue Oct 14 12:21:18 2014 UTC
@@ -399,8 +399,7 @@
     }
     // If we don't do this then we end up with a stray root pointing at the
     // context even after we have disposed of the context.
-    internal_isolate->heap()->CollectAllGarbage(
-        i::Heap::kNoGCFlags, "mksnapshot");
+    internal_isolate->heap()->CollectAllAvailableGarbage("mksnapshot");
     i::Object* raw_context = *v8::Utils::OpenPersistent(context);
     context.Reset();

=======================================
--- /branches/bleeding_edge/test/cctest/test-serialize.cc Thu Oct 2 09:39:13 2014 UTC +++ /branches/bleeding_edge/test/cctest/test-serialize.cc Tue Oct 14 12:21:18 2014 UTC
@@ -200,7 +200,7 @@
   }

   Isolate* internal_isolate = reinterpret_cast<Isolate*>(isolate);
- internal_isolate->heap()->CollectAllGarbage(Heap::kNoGCFlags, "serialize");
+  internal_isolate->heap()->CollectAllAvailableGarbage("serialize");
   WriteToFile(internal_isolate, FLAG_testing_serialization_file);
 }

--
--
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