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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 DEFINE_bool(cleanup_code_caches_at_gc, true, | 293 DEFINE_bool(cleanup_code_caches_at_gc, true, |
294 "Flush inline caches prior to mark compact collection and " | 294 "Flush inline caches prior to mark compact collection and " |
295 "flush code caches in maps during mark compact cycle.") | 295 "flush code caches in maps during mark compact cycle.") |
296 DEFINE_int(random_seed, 0, | 296 DEFINE_int(random_seed, 0, |
297 "Default seed for initializing random generator " | 297 "Default seed for initializing random generator " |
298 "(0, the default, means to use system random).") | 298 "(0, the default, means to use system random).") |
299 | 299 |
300 DEFINE_bool(canonicalize_object_literal_maps, true, | 300 DEFINE_bool(canonicalize_object_literal_maps, true, |
301 "Canonicalize maps for object literals.") | 301 "Canonicalize maps for object literals.") |
302 | 302 |
303 DEFINE_bool(use_big_map_space, true, | |
304 "Use big map space, but don't compact if it grew too big.") | |
305 | |
306 DEFINE_int(max_map_space_pages, MapSpace::kMaxMapPageIndex - 1, | 303 DEFINE_int(max_map_space_pages, MapSpace::kMaxMapPageIndex - 1, |
307 "Maximum number of pages in map space which still allows to encode " | 304 "Maximum number of pages in map space which still allows to encode " |
308 "forwarding pointers. That's actually a constant, but it's useful " | 305 "forwarding pointers. That's actually a constant, but it's useful " |
309 "to control it with a flag for better testing.") | 306 "to control it with a flag for better testing.") |
310 | 307 |
311 // mksnapshot.cc | 308 // mksnapshot.cc |
312 DEFINE_bool(h, false, "print this message") | 309 DEFINE_bool(h, false, "print this message") |
313 DEFINE_bool(new_snapshot, true, "use new snapshot implementation") | 310 DEFINE_bool(new_snapshot, true, "use new snapshot implementation") |
314 | 311 |
315 // objects.cc | 312 // objects.cc |
(...skipping 15 matching lines...) Expand all Loading... |
331 "print stack trace when throwing exceptions") | 328 "print stack trace when throwing exceptions") |
332 DEFINE_bool(preallocate_message_memory, false, | 329 DEFINE_bool(preallocate_message_memory, false, |
333 "preallocate some memory to build stack traces.") | 330 "preallocate some memory to build stack traces.") |
334 | 331 |
335 // v8.cc | 332 // v8.cc |
336 DEFINE_bool(preemption, false, | 333 DEFINE_bool(preemption, false, |
337 "activate a 100ms timer that switches between V8 threads") | 334 "activate a 100ms timer that switches between V8 threads") |
338 | 335 |
339 // Regexp | 336 // Regexp |
340 DEFINE_bool(regexp_optimization, true, "generate optimized regexp code") | 337 DEFINE_bool(regexp_optimization, true, "generate optimized regexp code") |
341 DEFINE_bool(regexp_entry_native, true, "use native code to enter regexp") | |
342 | 338 |
343 // Testing flags test/cctest/test-{flags,api,serialization}.cc | 339 // Testing flags test/cctest/test-{flags,api,serialization}.cc |
344 DEFINE_bool(testing_bool_flag, true, "testing_bool_flag") | 340 DEFINE_bool(testing_bool_flag, true, "testing_bool_flag") |
345 DEFINE_int(testing_int_flag, 13, "testing_int_flag") | 341 DEFINE_int(testing_int_flag, 13, "testing_int_flag") |
346 DEFINE_float(testing_float_flag, 2.5, "float-flag") | 342 DEFINE_float(testing_float_flag, 2.5, "float-flag") |
347 DEFINE_string(testing_string_flag, "Hello, world!", "string-flag") | 343 DEFINE_string(testing_string_flag, "Hello, world!", "string-flag") |
348 DEFINE_int(testing_prng_seed, 42, "Seed used for threading test randomness") | 344 DEFINE_int(testing_prng_seed, 42, "Seed used for threading test randomness") |
349 #ifdef WIN32 | 345 #ifdef WIN32 |
350 DEFINE_string(testing_serialization_file, "C:\\Windows\\Temp\\serdes", | 346 DEFINE_string(testing_serialization_file, "C:\\Windows\\Temp\\serdes", |
351 "file in which to testing_serialize heap") | 347 "file in which to testing_serialize heap") |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 DEFINE_bool(debug_serialization, false, | 454 DEFINE_bool(debug_serialization, false, |
459 "write debug information into the snapshot.") | 455 "write debug information into the snapshot.") |
460 | 456 |
461 // spaces.cc | 457 // spaces.cc |
462 DEFINE_bool(collect_heap_spill_statistics, false, | 458 DEFINE_bool(collect_heap_spill_statistics, false, |
463 "report heap spill statistics along with heap_stats " | 459 "report heap spill statistics along with heap_stats " |
464 "(requires heap_stats)") | 460 "(requires heap_stats)") |
465 | 461 |
466 DEFINE_bool(trace_isolates, false, "trace isolate state changes") | 462 DEFINE_bool(trace_isolates, false, "trace isolate state changes") |
467 | 463 |
468 DEFINE_bool(trace_live_byte_count, false, | |
469 "trace updates to page live byte count") | |
470 | |
471 // VM state | 464 // VM state |
472 DEFINE_bool(log_state_changes, false, "Log state changes.") | 465 DEFINE_bool(log_state_changes, false, "Log state changes.") |
473 | 466 |
474 // Regexp | 467 // Regexp |
475 DEFINE_bool(regexp_possessive_quantifier, | 468 DEFINE_bool(regexp_possessive_quantifier, |
476 false, | 469 false, |
477 "enable possessive quantifier syntax for testing") | 470 "enable possessive quantifier syntax for testing") |
478 DEFINE_bool(trace_regexp_bytecodes, false, "trace regexp bytecode execution") | 471 DEFINE_bool(trace_regexp_bytecodes, false, "trace regexp bytecode execution") |
479 DEFINE_bool(trace_regexp_assembler, | 472 DEFINE_bool(trace_regexp_assembler, |
480 false, | 473 false, |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 #undef FLAG | 535 #undef FLAG |
543 | 536 |
544 #undef DEFINE_bool | 537 #undef DEFINE_bool |
545 #undef DEFINE_int | 538 #undef DEFINE_int |
546 #undef DEFINE_string | 539 #undef DEFINE_string |
547 | 540 |
548 #undef FLAG_MODE_DECLARE | 541 #undef FLAG_MODE_DECLARE |
549 #undef FLAG_MODE_DEFINE | 542 #undef FLAG_MODE_DEFINE |
550 #undef FLAG_MODE_DEFINE_DEFAULTS | 543 #undef FLAG_MODE_DEFINE_DEFAULTS |
551 #undef FLAG_MODE_META | 544 #undef FLAG_MODE_META |
OLD | NEW |