| 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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 "when picking a function to optimize, watch for shared function " | 304 "when picking a function to optimize, watch for shared function " |
| 305 "info, not JSFunction itself") | 305 "info, not JSFunction itself") |
| 306 DEFINE_bool(cache_optimized_code, true, | 306 DEFINE_bool(cache_optimized_code, true, |
| 307 "cache optimized code for closures") | 307 "cache optimized code for closures") |
| 308 DEFINE_bool(flush_optimized_code_cache, true, | 308 DEFINE_bool(flush_optimized_code_cache, true, |
| 309 "flushes the cache of optimized code for closures on every GC") | 309 "flushes the cache of optimized code for closures on every GC") |
| 310 DEFINE_bool(inline_construct, true, "inline constructor calls") | 310 DEFINE_bool(inline_construct, true, "inline constructor calls") |
| 311 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") | 311 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") |
| 312 DEFINE_bool(inline_accessors, true, "inline JavaScript accessors") | 312 DEFINE_bool(inline_accessors, true, "inline JavaScript accessors") |
| 313 DEFINE_int(loop_weight, 1, "loop weight for representation inference") | 313 DEFINE_int(loop_weight, 1, "loop weight for representation inference") |
| 314 DEFINE_int(escape_analysis_iterations, 1, | 314 DEFINE_int(escape_analysis_iterations, 2, |
| 315 "maximum number of escape analysis fix-point iterations") | 315 "maximum number of escape analysis fix-point iterations") |
| 316 | 316 |
| 317 DEFINE_bool(optimize_for_in, true, | 317 DEFINE_bool(optimize_for_in, true, |
| 318 "optimize functions containing for-in loops") | 318 "optimize functions containing for-in loops") |
| 319 DEFINE_bool(opt_safe_uint32_operations, true, | 319 DEFINE_bool(opt_safe_uint32_operations, true, |
| 320 "allow uint32 values on optimize frames if they are used only in " | 320 "allow uint32 values on optimize frames if they are used only in " |
| 321 "safe operations") | 321 "safe operations") |
| 322 | 322 |
| 323 DEFINE_bool(concurrent_recompilation, true, | 323 DEFINE_bool(concurrent_recompilation, true, |
| 324 "optimizing hot functions asynchronously on a separate thread") | 324 "optimizing hot functions asynchronously on a separate thread") |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 495 DEFINE_int(gc_interval, -1, "garbage collect after <n> allocations") | 495 DEFINE_int(gc_interval, -1, "garbage collect after <n> allocations") |
| 496 DEFINE_bool(trace_gc, false, | 496 DEFINE_bool(trace_gc, false, |
| 497 "print one trace line following each garbage collection") | 497 "print one trace line following each garbage collection") |
| 498 DEFINE_bool(trace_gc_nvp, false, | 498 DEFINE_bool(trace_gc_nvp, false, |
| 499 "print one detailed trace line in name=value format " | 499 "print one detailed trace line in name=value format " |
| 500 "after each garbage collection") | 500 "after each garbage collection") |
| 501 DEFINE_bool(trace_gc_ignore_scavenger, false, | 501 DEFINE_bool(trace_gc_ignore_scavenger, false, |
| 502 "do not print trace line after scavenger collection") | 502 "do not print trace line after scavenger collection") |
| 503 DEFINE_bool(print_cumulative_gc_stat, false, | 503 DEFINE_bool(print_cumulative_gc_stat, false, |
| 504 "print cumulative GC statistics in name=value format on exit") | 504 "print cumulative GC statistics in name=value format on exit") |
| 505 DEFINE_bool(print_max_heap_committed, false, |
| 506 "print statistics of the maximum memory committed for the heap " |
| 507 "in name=value format on exit") |
| 505 DEFINE_bool(trace_gc_verbose, false, | 508 DEFINE_bool(trace_gc_verbose, false, |
| 506 "print more details following each garbage collection") | 509 "print more details following each garbage collection") |
| 507 DEFINE_bool(trace_fragmentation, false, | 510 DEFINE_bool(trace_fragmentation, false, |
| 508 "report fragmentation for old pointer and data pages") | 511 "report fragmentation for old pointer and data pages") |
| 509 DEFINE_bool(trace_external_memory, false, | 512 DEFINE_bool(trace_external_memory, false, |
| 510 "print amount of external allocated memory after each time " | 513 "print amount of external allocated memory after each time " |
| 511 "it is adjusted.") | 514 "it is adjusted.") |
| 512 DEFINE_bool(collect_maps, true, | 515 DEFINE_bool(collect_maps, true, |
| 513 "garbage collect maps from which no objects can be reached") | 516 "garbage collect maps from which no objects can be reached") |
| 514 DEFINE_bool(weak_embedded_maps_in_optimized_code, true, | 517 DEFINE_bool(weak_embedded_maps_in_optimized_code, true, |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 900 #undef DEFINE_ALIAS_float | 903 #undef DEFINE_ALIAS_float |
| 901 #undef DEFINE_ALIAS_args | 904 #undef DEFINE_ALIAS_args |
| 902 | 905 |
| 903 #undef FLAG_MODE_DECLARE | 906 #undef FLAG_MODE_DECLARE |
| 904 #undef FLAG_MODE_DEFINE | 907 #undef FLAG_MODE_DEFINE |
| 905 #undef FLAG_MODE_DEFINE_DEFAULTS | 908 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 906 #undef FLAG_MODE_META | 909 #undef FLAG_MODE_META |
| 907 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 910 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 908 | 911 |
| 909 #undef COMMA | 912 #undef COMMA |
| OLD | NEW |