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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
263 DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id) | 263 DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id) |
264 HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES) | 264 HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES) |
265 #undef FLAG_SHIPPING_FEATURES | 265 #undef FLAG_SHIPPING_FEATURES |
266 | 266 |
267 // Flags for experimental implementation features. | 267 // Flags for experimental implementation features. |
268 DEFINE_BOOL(compiled_keyed_generic_loads, false, | 268 DEFINE_BOOL(compiled_keyed_generic_loads, false, |
269 "use optimizing compiler to generate keyed generic load stubs") | 269 "use optimizing compiler to generate keyed generic load stubs") |
270 DEFINE_BOOL(allocation_site_pretenuring, true, | 270 DEFINE_BOOL(allocation_site_pretenuring, true, |
271 "pretenure with allocation sites") | 271 "pretenure with allocation sites") |
272 DEFINE_BOOL(page_promotion, true, "promote pages based on utilization") | 272 DEFINE_BOOL(page_promotion, true, "promote pages based on utilization") |
273 DEFINE_INT(page_promotion_threshold, 70, | 273 DEFINE_INT(page_promotion_threshold, 0, |
Michael Lippautz
2016/06/09 09:21:22
Will change this back to 70 before landing.
| |
274 "min percentage of live bytes on a page to enable fast evacuation") | 274 "min percentage of live bytes on a page to enable fast evacuation") |
275 DEFINE_BOOL(trace_pretenuring, false, | 275 DEFINE_BOOL(trace_pretenuring, false, |
276 "trace pretenuring decisions of HAllocate instructions") | 276 "trace pretenuring decisions of HAllocate instructions") |
277 DEFINE_BOOL(trace_pretenuring_statistics, false, | 277 DEFINE_BOOL(trace_pretenuring_statistics, false, |
278 "trace allocation site pretenuring statistics") | 278 "trace allocation site pretenuring statistics") |
279 DEFINE_BOOL(track_fields, true, "track fields with only smi values") | 279 DEFINE_BOOL(track_fields, true, "track fields with only smi values") |
280 DEFINE_BOOL(track_double_fields, true, "track fields with double values") | 280 DEFINE_BOOL(track_double_fields, true, "track fields with double values") |
281 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") | 281 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") |
282 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") | 282 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") |
283 DEFINE_IMPLICATION(track_double_fields, track_fields) | 283 DEFINE_IMPLICATION(track_double_fields, track_fields) |
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1186 #undef DEFINE_ALIAS_FLOAT | 1186 #undef DEFINE_ALIAS_FLOAT |
1187 #undef DEFINE_ALIAS_ARGS | 1187 #undef DEFINE_ALIAS_ARGS |
1188 | 1188 |
1189 #undef FLAG_MODE_DECLARE | 1189 #undef FLAG_MODE_DECLARE |
1190 #undef FLAG_MODE_DEFINE | 1190 #undef FLAG_MODE_DEFINE |
1191 #undef FLAG_MODE_DEFINE_DEFAULTS | 1191 #undef FLAG_MODE_DEFINE_DEFAULTS |
1192 #undef FLAG_MODE_META | 1192 #undef FLAG_MODE_META |
1193 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1193 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1194 | 1194 |
1195 #undef COMMA | 1195 #undef COMMA |
OLD | NEW |