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

Side by Side Diff: src/flag-definitions.h

Issue 2420053002: Define a flag --future to enable the most probable future shipping config (Closed)
Patch Set: updates Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file defines all of the flags. It is separated into different section, 5 // This file defines all of the flags. It is separated into different section,
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'.
8 // 8 //
9 // This include does not have a guard, because it is a template-style include, 9 // This include does not have a guard, because it is a template-style include,
10 // which can be included multiple times in different modes. It expects to have 10 // which can be included multiple times in different modes. It expects to have
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 DEFINE_IMPLICATION(harmony, id) 241 DEFINE_IMPLICATION(harmony, id)
242 HARMONY_STAGED(FLAG_STAGED_FEATURES) 242 HARMONY_STAGED(FLAG_STAGED_FEATURES)
243 #undef FLAG_STAGED_FEATURES 243 #undef FLAG_STAGED_FEATURES
244 244
245 #define FLAG_SHIPPING_FEATURES(id, description) \ 245 #define FLAG_SHIPPING_FEATURES(id, description) \
246 DEFINE_BOOL(id, true, "enable " #description) \ 246 DEFINE_BOOL(id, true, "enable " #description) \
247 DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id) 247 DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id)
248 HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES) 248 HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES)
249 #undef FLAG_SHIPPING_FEATURES 249 #undef FLAG_SHIPPING_FEATURES
250 250
251 DEFINE_BOOL(future, false,
252 "Implies all staged features that we want to ship in the "
253 "not-too-far future")
254 DEFINE_IMPLICATION(future, ignition_staging)
255
251 // Flags for experimental implementation features. 256 // Flags for experimental implementation features.
252 DEFINE_BOOL(allocation_site_pretenuring, true, 257 DEFINE_BOOL(allocation_site_pretenuring, true,
253 "pretenure with allocation sites") 258 "pretenure with allocation sites")
254 DEFINE_BOOL(page_promotion, true, "promote pages based on utilization") 259 DEFINE_BOOL(page_promotion, true, "promote pages based on utilization")
255 DEFINE_INT(page_promotion_threshold, 70, 260 DEFINE_INT(page_promotion_threshold, 70,
256 "min percentage of live bytes on a page to enable fast evacuation") 261 "min percentage of live bytes on a page to enable fast evacuation")
257 DEFINE_BOOL(trace_pretenuring, false, 262 DEFINE_BOOL(trace_pretenuring, false,
258 "trace pretenuring decisions of HAllocate instructions") 263 "trace pretenuring decisions of HAllocate instructions")
259 DEFINE_BOOL(trace_pretenuring_statistics, false, 264 DEFINE_BOOL(trace_pretenuring_statistics, false,
260 "trace allocation site pretenuring statistics") 265 "trace allocation site pretenuring statistics")
(...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after
1218 #undef DEFINE_ALIAS_FLOAT 1223 #undef DEFINE_ALIAS_FLOAT
1219 #undef DEFINE_ALIAS_ARGS 1224 #undef DEFINE_ALIAS_ARGS
1220 1225
1221 #undef FLAG_MODE_DECLARE 1226 #undef FLAG_MODE_DECLARE
1222 #undef FLAG_MODE_DEFINE 1227 #undef FLAG_MODE_DEFINE
1223 #undef FLAG_MODE_DEFINE_DEFAULTS 1228 #undef FLAG_MODE_DEFINE_DEFAULTS
1224 #undef FLAG_MODE_META 1229 #undef FLAG_MODE_META
1225 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1230 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1226 1231
1227 #undef COMMA 1232 #undef COMMA
OLDNEW
« 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