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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 DEFINE_bool(collect_maps, true, | 388 DEFINE_bool(collect_maps, true, |
389 "garbage collect maps from which no objects can be reached") | 389 "garbage collect maps from which no objects can be reached") |
390 DEFINE_bool(flush_code, true, | 390 DEFINE_bool(flush_code, true, |
391 "flush code that we expect not to use again before full gc") | 391 "flush code that we expect not to use again before full gc") |
392 DEFINE_bool(incremental_marking, true, "use incremental marking") | 392 DEFINE_bool(incremental_marking, true, "use incremental marking") |
393 DEFINE_bool(incremental_marking_steps, true, "do incremental marking steps") | 393 DEFINE_bool(incremental_marking_steps, true, "do incremental marking steps") |
394 DEFINE_bool(trace_incremental_marking, false, | 394 DEFINE_bool(trace_incremental_marking, false, |
395 "trace progress of the incremental marking") | 395 "trace progress of the incremental marking") |
396 DEFINE_bool(track_gc_object_stats, false, | 396 DEFINE_bool(track_gc_object_stats, false, |
397 "track object counts and memory usage") | 397 "track object counts and memory usage") |
| 398 #ifdef VERIFY_HEAP |
| 399 DEFINE_bool(verify_heap, false, "verify heap pointers before and after GC") |
| 400 #endif |
398 | 401 |
399 // v8.cc | 402 // v8.cc |
400 DEFINE_bool(use_idle_notification, true, | 403 DEFINE_bool(use_idle_notification, true, |
401 "Use idle notification to reduce memory footprint.") | 404 "Use idle notification to reduce memory footprint.") |
402 // ic.cc | 405 // ic.cc |
403 DEFINE_bool(use_ic, true, "use inline caching") | 406 DEFINE_bool(use_ic, true, "use inline caching") |
404 | 407 |
405 #ifdef LIVE_OBJECT_LIST | 408 #ifdef LIVE_OBJECT_LIST |
406 // liveobjectlist.cc | 409 // liveobjectlist.cc |
407 DEFINE_string(lol_workdir, NULL, "path for lol temp files") | 410 DEFINE_string(lol_workdir, NULL, "path for lol temp files") |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 DEFINE_bool(print_scopes, false, "print scopes") | 564 DEFINE_bool(print_scopes, false, "print scopes") |
562 | 565 |
563 // contexts.cc | 566 // contexts.cc |
564 DEFINE_bool(trace_contexts, false, "trace contexts operations") | 567 DEFINE_bool(trace_contexts, false, "trace contexts operations") |
565 | 568 |
566 // heap.cc | 569 // heap.cc |
567 DEFINE_bool(gc_greedy, false, "perform GC prior to some allocations") | 570 DEFINE_bool(gc_greedy, false, "perform GC prior to some allocations") |
568 DEFINE_bool(gc_verbose, false, "print stuff during garbage collection") | 571 DEFINE_bool(gc_verbose, false, "print stuff during garbage collection") |
569 DEFINE_bool(heap_stats, false, "report heap statistics before and after GC") | 572 DEFINE_bool(heap_stats, false, "report heap statistics before and after GC") |
570 DEFINE_bool(code_stats, false, "report code statistics after GC") | 573 DEFINE_bool(code_stats, false, "report code statistics after GC") |
571 DEFINE_bool(verify_heap, false, "verify heap pointers before and after GC") | |
572 DEFINE_bool(verify_native_context_separation, false, | 574 DEFINE_bool(verify_native_context_separation, false, |
573 "verify that code holds on to at most one native context after GC") | 575 "verify that code holds on to at most one native context after GC") |
574 DEFINE_bool(print_handles, false, "report handles after GC") | 576 DEFINE_bool(print_handles, false, "report handles after GC") |
575 DEFINE_bool(print_global_handles, false, "report global handles after GC") | 577 DEFINE_bool(print_global_handles, false, "report global handles after GC") |
576 | 578 |
577 // ic.cc | 579 // ic.cc |
578 DEFINE_bool(trace_ic, false, "trace inline cache state transitions") | 580 DEFINE_bool(trace_ic, false, "trace inline cache state transitions") |
579 | 581 |
580 // interface.cc | 582 // interface.cc |
581 DEFINE_bool(print_interfaces, false, "print interfaces") | 583 DEFINE_bool(print_interfaces, false, "print interfaces") |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 #undef DEFINE_bool | 701 #undef DEFINE_bool |
700 #undef DEFINE_int | 702 #undef DEFINE_int |
701 #undef DEFINE_string | 703 #undef DEFINE_string |
702 #undef DEFINE_implication | 704 #undef DEFINE_implication |
703 | 705 |
704 #undef FLAG_MODE_DECLARE | 706 #undef FLAG_MODE_DECLARE |
705 #undef FLAG_MODE_DEFINE | 707 #undef FLAG_MODE_DEFINE |
706 #undef FLAG_MODE_DEFINE_DEFAULTS | 708 #undef FLAG_MODE_DEFINE_DEFAULTS |
707 #undef FLAG_MODE_META | 709 #undef FLAG_MODE_META |
708 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 710 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |