Revision: 15318
Author: [email protected]
Date: Tue Jun 25 04:16:13 2013
Log: Fixed more gc stress builder tests.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/17590016
http://code.google.com/p/v8/source/detail?r=15318
Modified:
/branches/bleeding_edge/test/cctest/test-compiler.cc
/branches/bleeding_edge/test/cctest/test-debug.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-compiler.cc Thu Jun 20
05:28:27 2013
+++ /branches/bleeding_edge/test/cctest/test-compiler.cc Tue Jun 25
04:16:13 2013
@@ -349,6 +349,7 @@
// Skip test if --cache-optimized-code is not activated by default
because
// FastNewClosureStub that is baked into the snapshot is incorrect.
if (!FLAG_cache_optimized_code) return;
+ FLAG_stress_compaction = false;
FLAG_allow_natives_syntax = true;
CcTest::InitializeVM();
v8::HandleScope scope(CcTest::isolate());
=======================================
--- /branches/bleeding_edge/test/cctest/test-debug.cc Thu Jun 20 05:28:27
2013
+++ /branches/bleeding_edge/test/cctest/test-debug.cc Tue Jun 25 04:16:13
2013
@@ -6578,7 +6578,7 @@
// Do garbage collection to ensure that only the script in this test
will be
// collected afterwards.
- HEAP->CollectAllGarbage(Heap::kNoGCFlags);
+ HEAP->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask);
script_collected_count = 0;
v8::Debug::SetDebugEventListener(DebugEventScriptCollectedEvent,
@@ -6590,7 +6590,7 @@
// Do garbage collection to collect the script above which is no longer
// referenced.
- HEAP->CollectAllGarbage(Heap::kNoGCFlags);
+ HEAP->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask);
CHECK_EQ(2, script_collected_count);
@@ -6640,7 +6640,7 @@
// Do garbage collection to ensure that only the script in this test
will be
// collected afterwards.
- HEAP->CollectAllGarbage(Heap::kNoGCFlags);
+ HEAP->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask);
v8::Debug::SetMessageHandler2(ScriptCollectedMessageHandler);
v8::Script::Compile(v8::String::New("eval('a=1')"))->Run();
@@ -6657,7 +6657,7 @@
// Do garbage collection to collect the script above which is no longer
// referenced.
- HEAP->CollectAllGarbage(Heap::kNoGCFlags);
+ HEAP->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask);
CHECK_EQ(2, script_collected_message_count);
--
--
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/groups/opt_out.