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

Unified Diff: runtime/vm/benchmark_test.h

Issue 668473002: - Rename flags to reflect the generation impacted. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 2 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 | runtime/vm/pages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/benchmark_test.h
===================================================================
--- runtime/vm/benchmark_test.h (revision 41169)
+++ runtime/vm/benchmark_test.h (working copy)
@@ -17,7 +17,7 @@
namespace dart {
DECLARE_FLAG(int, code_heap_size);
-DECLARE_FLAG(int, heap_growth_space_ratio);
+DECLARE_FLAG(int, old_gen_growth_space_ratio);
// snapshot_buffer points to a snapshot if we link in a snapshot otherwise
// it is initialized to NULL.
@@ -32,7 +32,7 @@
static Benchmark kRegister##name(Dart_Benchmark##name, #name, kind); \
static void Dart_BenchmarkHelper##name(Benchmark* benchmark); \
void Dart_Benchmark##name(Benchmark* benchmark) { \
- FLAG_heap_growth_space_ratio = 100; \
+ FLAG_old_gen_growth_space_ratio = 100; \
BenchmarkIsolateScope __isolate__(benchmark); \
StackZone __zone__(benchmark->isolate()); \
HandleScope __hs__(benchmark->isolate()); \
« no previous file with comments | « no previous file | runtime/vm/pages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698