Revision: 6050
Author: [email protected]
Date: Thu Dec 16 05:24:23 2010
Log: Add flag for running with a non standard number of stress-runs.
This allows easy testing with more than 5/2 stress runs in
release/debug and will allow us to have a nightly run with e.g., 10
stress runs in debug mode.
Review URL: http://codereview.chromium.org/5903003
http://code.google.com/p/v8/source/detail?r=6050
Modified:
/branches/bleeding_edge/src/api.cc
/branches/bleeding_edge/src/flag-definitions.h
=======================================
--- /branches/bleeding_edge/src/api.cc Tue Dec 14 05:21:46 2010
+++ /branches/bleeding_edge/src/api.cc Thu Dec 16 05:24:23 2010
@@ -4979,6 +4979,7 @@
}
int Testing::GetStressRuns() {
+ if (internal::FLAG_stress_runs != 0) return internal::FLAG_stress_runs;
#ifdef DEBUG
// In debug mode the code runs much slower so stressing will only make
two
// runs.
=======================================
--- /branches/bleeding_edge/src/flag-definitions.h Thu Dec 9 05:12:23 2010
+++ /branches/bleeding_edge/src/flag-definitions.h Thu Dec 16 05:24:23 2010
@@ -141,6 +141,7 @@
DEFINE_bool(use_osr, false, "use on-stack replacement")
#endif
DEFINE_bool(trace_osr, false, "trace on-stack replacement")
+DEFINE_int(stress_runs, 0, "number of stress runs")
// assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc
DEFINE_bool(debug_code, false,
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev