| 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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") |
| 214 DEFINE_bool(inline_construct, true, "inline constructor calls") | 214 DEFINE_bool(inline_construct, true, "inline constructor calls") |
| 215 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") | 215 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") |
| 216 DEFINE_bool(inline_accessors, true, "inline JavaScript accessors") | 216 DEFINE_bool(inline_accessors, false, "inline JavaScript accessors") |
| 217 DEFINE_int(loop_weight, 1, "loop weight for representation inference") | 217 DEFINE_int(loop_weight, 1, "loop weight for representation inference") |
| 218 | 218 |
| 219 DEFINE_bool(optimize_for_in, true, | 219 DEFINE_bool(optimize_for_in, true, |
| 220 "optimize functions containing for-in loops") | 220 "optimize functions containing for-in loops") |
| 221 | 221 |
| 222 DEFINE_bool(parallel_recompilation, false, | 222 DEFINE_bool(parallel_recompilation, false, |
| 223 "optimizing hot functions asynchronously on a separate thread") | 223 "optimizing hot functions asynchronously on a separate thread") |
| 224 DEFINE_bool(trace_parallel_recompilation, false, "track parallel recompilation") | 224 DEFINE_bool(trace_parallel_recompilation, false, "track parallel recompilation") |
| 225 DEFINE_int(parallel_recompilation_queue_length, 2, | 225 DEFINE_int(parallel_recompilation_queue_length, 2, |
| 226 "the length of the parallel compilation queue") | 226 "the length of the parallel compilation queue") |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 DEFINE_bool(incremental_marking, true, "use incremental marking") | 383 DEFINE_bool(incremental_marking, true, "use incremental marking") |
| 384 DEFINE_bool(incremental_marking_steps, true, "do incremental marking steps") | 384 DEFINE_bool(incremental_marking_steps, true, "do incremental marking steps") |
| 385 DEFINE_bool(trace_incremental_marking, false, | 385 DEFINE_bool(trace_incremental_marking, false, |
| 386 "trace progress of the incremental marking") | 386 "trace progress of the incremental marking") |
| 387 DEFINE_bool(track_gc_object_stats, false, | 387 DEFINE_bool(track_gc_object_stats, false, |
| 388 "track object counts and memory usage") | 388 "track object counts and memory usage") |
| 389 | 389 |
| 390 // v8.cc | 390 // v8.cc |
| 391 DEFINE_bool(use_idle_notification, true, | 391 DEFINE_bool(use_idle_notification, true, |
| 392 "Use idle notification to reduce memory footprint.") | 392 "Use idle notification to reduce memory footprint.") |
| 393 |
| 394 DEFINE_bool(send_idle_notification, false, |
| 395 "Send idle notifcation between stress runs.") |
| 393 // ic.cc | 396 // ic.cc |
| 394 DEFINE_bool(use_ic, true, "use inline caching") | 397 DEFINE_bool(use_ic, true, "use inline caching") |
| 395 | 398 |
| 396 #ifdef LIVE_OBJECT_LIST | 399 #ifdef LIVE_OBJECT_LIST |
| 397 // liveobjectlist.cc | 400 // liveobjectlist.cc |
| 398 DEFINE_string(lol_workdir, NULL, "path for lol temp files") | 401 DEFINE_string(lol_workdir, NULL, "path for lol temp files") |
| 399 DEFINE_bool(verify_lol, false, "perform debugging verification for lol") | 402 DEFINE_bool(verify_lol, false, "perform debugging verification for lol") |
| 400 #endif | 403 #endif |
| 401 | 404 |
| 402 // macro-assembler-ia32.cc | 405 // macro-assembler-ia32.cc |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 551 | 554 |
| 552 // contexts.cc | 555 // contexts.cc |
| 553 DEFINE_bool(trace_contexts, false, "trace contexts operations") | 556 DEFINE_bool(trace_contexts, false, "trace contexts operations") |
| 554 | 557 |
| 555 // heap.cc | 558 // heap.cc |
| 556 DEFINE_bool(gc_greedy, false, "perform GC prior to some allocations") | 559 DEFINE_bool(gc_greedy, false, "perform GC prior to some allocations") |
| 557 DEFINE_bool(gc_verbose, false, "print stuff during garbage collection") | 560 DEFINE_bool(gc_verbose, false, "print stuff during garbage collection") |
| 558 DEFINE_bool(heap_stats, false, "report heap statistics before and after GC") | 561 DEFINE_bool(heap_stats, false, "report heap statistics before and after GC") |
| 559 DEFINE_bool(code_stats, false, "report code statistics after GC") | 562 DEFINE_bool(code_stats, false, "report code statistics after GC") |
| 560 DEFINE_bool(verify_heap, false, "verify heap pointers before and after GC") | 563 DEFINE_bool(verify_heap, false, "verify heap pointers before and after GC") |
| 561 DEFINE_bool(verify_native_context_separation, false, | 564 DEFINE_bool(verify_global_context_separation, false, |
| 562 "verify that code holds on to at most one native context after GC") | 565 "verify that code holds on to at most one global context after GC") |
| 563 DEFINE_bool(print_handles, false, "report handles after GC") | 566 DEFINE_bool(print_handles, false, "report handles after GC") |
| 564 DEFINE_bool(print_global_handles, false, "report global handles after GC") | 567 DEFINE_bool(print_global_handles, false, "report global handles after GC") |
| 565 | 568 |
| 566 // ic.cc | 569 // ic.cc |
| 567 DEFINE_bool(trace_ic, false, "trace inline cache state transitions") | 570 DEFINE_bool(trace_ic, false, "trace inline cache state transitions") |
| 568 | 571 |
| 569 // interface.cc | 572 // interface.cc |
| 570 DEFINE_bool(print_interfaces, false, "print interfaces") | 573 DEFINE_bool(print_interfaces, false, "print interfaces") |
| 571 DEFINE_bool(print_interface_details, false, "print interface inference details") | 574 DEFINE_bool(print_interface_details, false, "print interface inference details") |
| 572 DEFINE_int(print_interface_depth, 5, "depth for printing interfaces") | 575 DEFINE_int(print_interface_depth, 5, "depth for printing interfaces") |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 687 #undef DEFINE_bool | 690 #undef DEFINE_bool |
| 688 #undef DEFINE_int | 691 #undef DEFINE_int |
| 689 #undef DEFINE_string | 692 #undef DEFINE_string |
| 690 #undef DEFINE_implication | 693 #undef DEFINE_implication |
| 691 | 694 |
| 692 #undef FLAG_MODE_DECLARE | 695 #undef FLAG_MODE_DECLARE |
| 693 #undef FLAG_MODE_DEFINE | 696 #undef FLAG_MODE_DEFINE |
| 694 #undef FLAG_MODE_DEFINE_DEFAULTS | 697 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 695 #undef FLAG_MODE_META | 698 #undef FLAG_MODE_META |
| 696 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 699 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| OLD | NEW |