OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 DEFINE_bool(trace_representation, false, "trace representation types") | 191 DEFINE_bool(trace_representation, false, "trace representation types") |
192 DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction") | 192 DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction") |
193 DEFINE_bool(stress_environments, false, "environment for every instruction") | 193 DEFINE_bool(stress_environments, false, "environment for every instruction") |
194 DEFINE_int(deopt_every_n_times, | 194 DEFINE_int(deopt_every_n_times, |
195 0, | 195 0, |
196 "deoptimize every n times a deopt point is passed") | 196 "deoptimize every n times a deopt point is passed") |
197 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") | 197 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") |
198 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") | 198 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") |
199 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") | 199 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") |
200 DEFINE_bool(use_osr, true, "use on-stack replacement") | 200 DEFINE_bool(use_osr, true, "use on-stack replacement") |
201 DEFINE_bool(array_bounds_checks_elimination, true, | 201 DEFINE_bool(array_bounds_checks_elimination, false, |
202 "perform array bounds checks elimination") | 202 "perform array bounds checks elimination") |
203 DEFINE_bool(array_index_dehoisting, true, | 203 DEFINE_bool(array_index_dehoisting, false, |
204 "perform array index dehoisting") | 204 "perform array index dehoisting") |
205 | 205 |
206 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 206 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
207 DEFINE_int(stress_runs, 0, "number of stress runs") | 207 DEFINE_int(stress_runs, 0, "number of stress runs") |
208 DEFINE_bool(optimize_closures, true, "optimize closures") | 208 DEFINE_bool(optimize_closures, true, "optimize closures") |
209 DEFINE_bool(lookup_sample_by_shared, true, | 209 DEFINE_bool(lookup_sample_by_shared, true, |
210 "when picking a function to optimize, watch for shared function " | 210 "when picking a function to optimize, watch for shared function " |
211 "info, not JSFunction itself") | 211 "info, not JSFunction itself") |
212 DEFINE_bool(cache_optimized_code, true, | 212 DEFINE_bool(cache_optimized_code, true, |
213 "cache optimized code for closures") | 213 "cache optimized code for closures") |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 "generate extra code for manipulating stats counters") | 405 "generate extra code for manipulating stats counters") |
406 | 406 |
407 // mark-compact.cc | 407 // mark-compact.cc |
408 DEFINE_bool(always_compact, false, "Perform compaction on every full GC") | 408 DEFINE_bool(always_compact, false, "Perform compaction on every full GC") |
409 DEFINE_bool(lazy_sweeping, true, | 409 DEFINE_bool(lazy_sweeping, true, |
410 "Use lazy sweeping for old pointer and data spaces") | 410 "Use lazy sweeping for old pointer and data spaces") |
411 DEFINE_bool(never_compact, false, | 411 DEFINE_bool(never_compact, false, |
412 "Never perform compaction on full GC - testing only") | 412 "Never perform compaction on full GC - testing only") |
413 DEFINE_bool(compact_code_space, true, | 413 DEFINE_bool(compact_code_space, true, |
414 "Compact code space on full non-incremental collections") | 414 "Compact code space on full non-incremental collections") |
415 DEFINE_bool(incremental_code_compaction, true, | 415 DEFINE_bool(incremental_code_compaction, false, |
416 "Compact code space on full incremental collections") | 416 "Compact code space on full incremental collections") |
417 DEFINE_bool(cleanup_code_caches_at_gc, true, | 417 DEFINE_bool(cleanup_code_caches_at_gc, true, |
418 "Flush inline caches prior to mark compact collection and " | 418 "Flush inline caches prior to mark compact collection and " |
419 "flush code caches in maps during mark compact cycle.") | 419 "flush code caches in maps during mark compact cycle.") |
420 DEFINE_int(random_seed, 0, | 420 DEFINE_int(random_seed, 0, |
421 "Default seed for initializing random generator " | 421 "Default seed for initializing random generator " |
422 "(0, the default, means to use system random).") | 422 "(0, the default, means to use system random).") |
423 | 423 |
424 // objects.cc | 424 // objects.cc |
425 DEFINE_bool(use_verbose_printer, true, "allows verbose printing") | 425 DEFINE_bool(use_verbose_printer, true, "allows verbose printing") |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
691 #undef DEFINE_bool | 691 #undef DEFINE_bool |
692 #undef DEFINE_int | 692 #undef DEFINE_int |
693 #undef DEFINE_string | 693 #undef DEFINE_string |
694 #undef DEFINE_implication | 694 #undef DEFINE_implication |
695 | 695 |
696 #undef FLAG_MODE_DECLARE | 696 #undef FLAG_MODE_DECLARE |
697 #undef FLAG_MODE_DEFINE | 697 #undef FLAG_MODE_DEFINE |
698 #undef FLAG_MODE_DEFINE_DEFAULTS | 698 #undef FLAG_MODE_DEFINE_DEFAULTS |
699 #undef FLAG_MODE_META | 699 #undef FLAG_MODE_META |
700 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 700 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |