| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 // | 387 // |
| 388 // GDB JIT integration flags. | 388 // GDB JIT integration flags. |
| 389 // | 389 // |
| 390 | 390 |
| 391 DEFINE_bool(gdbjit, false, "enable GDBJIT interface (disables compacting GC)") | 391 DEFINE_bool(gdbjit, false, "enable GDBJIT interface (disables compacting GC)") |
| 392 DEFINE_bool(gdbjit_full, false, "enable GDBJIT interface for all code objects") | 392 DEFINE_bool(gdbjit_full, false, "enable GDBJIT interface for all code objects") |
| 393 DEFINE_bool(gdbjit_dump, false, "dump elf objects with debug info to disk") | 393 DEFINE_bool(gdbjit_dump, false, "dump elf objects with debug info to disk") |
| 394 DEFINE_string(gdbjit_dump_filter, "", | 394 DEFINE_string(gdbjit_dump_filter, "", |
| 395 "dump only objects containing this substring") | 395 "dump only objects containing this substring") |
| 396 | 396 |
| 397 // mark-compact.cc |
| 398 DEFINE_bool(force_marking_deque_overflows, false, |
| 399 "force overflows of marking deque by reducing it's size " |
| 400 "to 64 words") |
| 401 |
| 402 DEFINE_bool(stress_compaction, false, |
| 403 "stress the GC compactor to flush out bugs (implies " |
| 404 "--force_marking_deque_overflows)") |
| 405 |
| 397 // | 406 // |
| 398 // Debug only flags | 407 // Debug only flags |
| 399 // | 408 // |
| 400 #undef FLAG | 409 #undef FLAG |
| 401 #ifdef DEBUG | 410 #ifdef DEBUG |
| 402 #define FLAG FLAG_FULL | 411 #define FLAG FLAG_FULL |
| 403 #else | 412 #else |
| 404 #define FLAG FLAG_READONLY | 413 #define FLAG FLAG_READONLY |
| 405 #endif | 414 #endif |
| 406 | 415 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 434 DEFINE_bool(gc_verbose, false, "print stuff during garbage collection") | 443 DEFINE_bool(gc_verbose, false, "print stuff during garbage collection") |
| 435 DEFINE_bool(heap_stats, false, "report heap statistics before and after GC") | 444 DEFINE_bool(heap_stats, false, "report heap statistics before and after GC") |
| 436 DEFINE_bool(code_stats, false, "report code statistics after GC") | 445 DEFINE_bool(code_stats, false, "report code statistics after GC") |
| 437 DEFINE_bool(verify_heap, false, "verify heap pointers before and after GC") | 446 DEFINE_bool(verify_heap, false, "verify heap pointers before and after GC") |
| 438 DEFINE_bool(print_handles, false, "report handles after GC") | 447 DEFINE_bool(print_handles, false, "report handles after GC") |
| 439 DEFINE_bool(print_global_handles, false, "report global handles after GC") | 448 DEFINE_bool(print_global_handles, false, "report global handles after GC") |
| 440 | 449 |
| 441 // ic.cc | 450 // ic.cc |
| 442 DEFINE_bool(trace_ic, false, "trace inline cache state transitions") | 451 DEFINE_bool(trace_ic, false, "trace inline cache state transitions") |
| 443 | 452 |
| 444 // mark-compact.cc | |
| 445 DEFINE_bool(force_marking_deque_overflows, false, | |
| 446 "force overflows of marking deque by reducing it's size " | |
| 447 "to 64 words") | |
| 448 | |
| 449 // objects.cc | 453 // objects.cc |
| 450 DEFINE_bool(trace_normalization, | 454 DEFINE_bool(trace_normalization, |
| 451 false, | 455 false, |
| 452 "prints when objects are turned into dictionaries.") | 456 "prints when objects are turned into dictionaries.") |
| 453 | 457 |
| 454 // runtime.cc | 458 // runtime.cc |
| 455 DEFINE_bool(trace_lazy, false, "trace lazy compilation") | 459 DEFINE_bool(trace_lazy, false, "trace lazy compilation") |
| 456 | 460 |
| 457 // serialize.cc | 461 // serialize.cc |
| 458 DEFINE_bool(debug_serialization, false, | 462 DEFINE_bool(debug_serialization, false, |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 #undef FLAG | 543 #undef FLAG |
| 540 | 544 |
| 541 #undef DEFINE_bool | 545 #undef DEFINE_bool |
| 542 #undef DEFINE_int | 546 #undef DEFINE_int |
| 543 #undef DEFINE_string | 547 #undef DEFINE_string |
| 544 | 548 |
| 545 #undef FLAG_MODE_DECLARE | 549 #undef FLAG_MODE_DECLARE |
| 546 #undef FLAG_MODE_DEFINE | 550 #undef FLAG_MODE_DEFINE |
| 547 #undef FLAG_MODE_DEFINE_DEFAULTS | 551 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 548 #undef FLAG_MODE_META | 552 #undef FLAG_MODE_META |
| OLD | NEW |