Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Unified Diff: vm/benchmark_test.h

Issue 10915253: Set heap_growth_space_ratio to 100 so that the benchmark runs do not (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/benchmark_test.h
===================================================================
--- vm/benchmark_test.h (revision 12291)
+++ vm/benchmark_test.h (working copy)
@@ -17,6 +17,7 @@
namespace dart {
DECLARE_FLAG(int, code_heap_size);
+DECLARE_FLAG(int, heap_growth_space_ratio);
// The BENCHMARK macro is used for benchmarking a specific functionality
// of the VM
@@ -25,6 +26,7 @@
static const Benchmark kRegister##name(Dart_Benchmark##name, #name); \
static void Dart_BenchmarkHelper##name(Benchmark* benchmark); \
void Dart_Benchmark##name(Benchmark* benchmark) { \
+ FLAG_heap_growth_space_ratio = 100; \
FLAG_code_heap_size = 12; \
BenchmarkIsolateScope __isolate__(benchmark); \
Zone __zone__(benchmark->isolate()); \
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698