OLD | NEW |
---|---|
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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 // Flags for experimental implementation features. | 251 // Flags for experimental implementation features. |
252 DEFINE_BOOL(compiled_keyed_generic_loads, false, | 252 DEFINE_BOOL(compiled_keyed_generic_loads, false, |
253 "use optimizing compiler to generate keyed generic load stubs") | 253 "use optimizing compiler to generate keyed generic load stubs") |
254 DEFINE_BOOL(allocation_site_pretenuring, true, | 254 DEFINE_BOOL(allocation_site_pretenuring, true, |
255 "pretenure with allocation sites") | 255 "pretenure with allocation sites") |
256 DEFINE_BOOL(page_evacuation, true, "evacuate pages based on utilization") | |
Hannes Payer (out of office)
2016/04/18 12:12:23
The term evacuation is already used in v8. Evacuat
Michael Lippautz
2016/04/18 12:57:38
page_promotion it is
| |
257 DEFINE_INT(page_evacuation_threshold, 0, | |
258 "min percentage of live bytes on a page to enable fast evacuation") | |
256 DEFINE_BOOL(trace_pretenuring, false, | 259 DEFINE_BOOL(trace_pretenuring, false, |
257 "trace pretenuring decisions of HAllocate instructions") | 260 "trace pretenuring decisions of HAllocate instructions") |
258 DEFINE_BOOL(trace_pretenuring_statistics, false, | 261 DEFINE_BOOL(trace_pretenuring_statistics, false, |
259 "trace allocation site pretenuring statistics") | 262 "trace allocation site pretenuring statistics") |
260 DEFINE_BOOL(track_fields, true, "track fields with only smi values") | 263 DEFINE_BOOL(track_fields, true, "track fields with only smi values") |
261 DEFINE_BOOL(track_double_fields, true, "track fields with double values") | 264 DEFINE_BOOL(track_double_fields, true, "track fields with double values") |
262 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") | 265 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") |
263 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") | 266 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") |
264 DEFINE_BOOL(harmony_instanceof_opt, true, "optimize ES6 instanceof support") | 267 DEFINE_BOOL(harmony_instanceof_opt, true, "optimize ES6 instanceof support") |
265 DEFINE_IMPLICATION(track_double_fields, track_fields) | 268 DEFINE_IMPLICATION(track_double_fields, track_fields) |
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1161 #undef DEFINE_ALIAS_FLOAT | 1164 #undef DEFINE_ALIAS_FLOAT |
1162 #undef DEFINE_ALIAS_ARGS | 1165 #undef DEFINE_ALIAS_ARGS |
1163 | 1166 |
1164 #undef FLAG_MODE_DECLARE | 1167 #undef FLAG_MODE_DECLARE |
1165 #undef FLAG_MODE_DEFINE | 1168 #undef FLAG_MODE_DEFINE |
1166 #undef FLAG_MODE_DEFINE_DEFAULTS | 1169 #undef FLAG_MODE_DEFINE_DEFAULTS |
1167 #undef FLAG_MODE_META | 1170 #undef FLAG_MODE_META |
1168 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1171 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1169 | 1172 |
1170 #undef COMMA | 1173 #undef COMMA |
OLD | NEW |