Revision: 13068
Author: [email protected]
Date: Tue Nov 27 07:30:12 2012
Log: Disable stress for some unit test.
Some unit tests specifically test scavenges and forcing them to do
global GCs instead makes no sense. The GC stress builder triggers this.
[email protected]
TEST=cctest/test-api --stress-compaction
Review URL: https://codereview.chromium.org/11421098
http://code.google.com/p/v8/source/detail?r=13068
Modified:
/branches/bleeding_edge/test/cctest/test-api.cc
/branches/bleeding_edge/test/cctest/test-mark-compact.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-api.cc Wed Nov 21 02:01:05 2012
+++ /branches/bleeding_edge/test/cctest/test-api.cc Tue Nov 27 07:30:12 2012
@@ -626,6 +626,8 @@
THREADED_TEST(ScavengeExternalString) {
+ i::FLAG_stress_compaction = false;
+ i::FLAG_gc_global = false;
int dispose_count = 0;
bool in_new_space = false;
{
@@ -646,6 +648,8 @@
THREADED_TEST(ScavengeExternalAsciiString) {
+ i::FLAG_stress_compaction = false;
+ i::FLAG_gc_global = false;
int dispose_count = 0;
bool in_new_space = false;
{
@@ -2546,6 +2550,8 @@
// TODO(mstarzinger): This should be a THREADED_TEST but causes failures
// on the buildbots, so was made non-threaded for the time being.
TEST(ApiObjectGroupsCycleForScavenger) {
+ i::FLAG_stress_compaction = false;
+ i::FLAG_gc_global = false;
HandleScope scope;
LocalContext env;
=======================================
--- /branches/bleeding_edge/test/cctest/test-mark-compact.cc Fri Sep 14
04:16:56 2012
+++ /branches/bleeding_edge/test/cctest/test-mark-compact.cc Tue Nov 27
07:30:12 2012
@@ -311,6 +311,7 @@
}
TEST(ObjectGroups) {
+ FLAG_incremental_marking = false;
InitializeVM();
GlobalHandles* global_handles = Isolate::Current()->global_handles();
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev