Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: src/flag-definitions.h

Issue 8139027: Version 3.6.5 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/factory.cc ('k') | src/frames.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 #define FLAG FLAG_FULL 97 #define FLAG FLAG_FULL
98 98
99 // Flags for experimental language features. 99 // Flags for experimental language features.
100 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") 100 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof")
101 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") 101 DEFINE_bool(harmony_proxies, false, "enable harmony proxies")
102 DEFINE_bool(harmony_weakmaps, false, "enable harmony weak maps") 102 DEFINE_bool(harmony_weakmaps, false, "enable harmony weak maps")
103 DEFINE_bool(harmony_block_scoping, false, "enable harmony block scoping") 103 DEFINE_bool(harmony_block_scoping, false, "enable harmony block scoping")
104 104
105 // Flags for experimental implementation features. 105 // Flags for experimental implementation features.
106 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") 106 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles")
107 DEFINE_bool(smi_only_arrays, false, "tracks arrays with only smi values")
107 DEFINE_bool(string_slices, false, "use string slices") 108 DEFINE_bool(string_slices, false, "use string slices")
108 109
109 // Flags for Crankshaft. 110 // Flags for Crankshaft.
110 #ifdef V8_TARGET_ARCH_MIPS 111 #ifdef V8_TARGET_ARCH_MIPS
111 DEFINE_bool(crankshaft, false, "use crankshaft") 112 DEFINE_bool(crankshaft, false, "use crankshaft")
112 #else 113 #else
113 DEFINE_bool(crankshaft, true, "use crankshaft") 114 DEFINE_bool(crankshaft, true, "use crankshaft")
114 #endif 115 #endif
115 DEFINE_string(hydrogen_filter, "", "hydrogen use/trace filter") 116 DEFINE_string(hydrogen_filter, "", "hydrogen use/trace filter")
116 DEFINE_bool(use_hydrogen, true, "use generated hydrogen for compilation") 117 DEFINE_bool(use_hydrogen, true, "use generated hydrogen for compilation")
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 DEFINE_int(gc_interval, -1, "garbage collect after <n> allocations") 247 DEFINE_int(gc_interval, -1, "garbage collect after <n> allocations")
247 DEFINE_bool(trace_gc, false, 248 DEFINE_bool(trace_gc, false,
248 "print one trace line following each garbage collection") 249 "print one trace line following each garbage collection")
249 DEFINE_bool(trace_gc_nvp, false, 250 DEFINE_bool(trace_gc_nvp, false,
250 "print one detailed trace line in name=value format " 251 "print one detailed trace line in name=value format "
251 "after each garbage collection") 252 "after each garbage collection")
252 DEFINE_bool(print_cumulative_gc_stat, false, 253 DEFINE_bool(print_cumulative_gc_stat, false,
253 "print cumulative GC statistics in name=value format on exit") 254 "print cumulative GC statistics in name=value format on exit")
254 DEFINE_bool(trace_gc_verbose, false, 255 DEFINE_bool(trace_gc_verbose, false,
255 "print more details following each garbage collection") 256 "print more details following each garbage collection")
257 DEFINE_bool(trace_fragmentation, false,
258 "report fragmentation for old pointer and data pages")
256 DEFINE_bool(collect_maps, true, 259 DEFINE_bool(collect_maps, true,
257 "garbage collect maps from which no objects can be reached") 260 "garbage collect maps from which no objects can be reached")
258 DEFINE_bool(flush_code, true, 261 DEFINE_bool(flush_code, true,
259 "flush code that we expect not to use again before full gc") 262 "flush code that we expect not to use again before full gc")
263 DEFINE_bool(incremental_marking, true, "use incremental marking")
264 DEFINE_bool(incremental_marking_steps, true, "do incremental marking steps")
265 DEFINE_bool(trace_incremental_marking, false,
266 "trace progress of the incremental marking")
260 267
261 // v8.cc 268 // v8.cc
262 DEFINE_bool(use_idle_notification, true, 269 DEFINE_bool(use_idle_notification, true,
263 "Use idle notification to reduce memory footprint.") 270 "Use idle notification to reduce memory footprint.")
264 // ic.cc 271 // ic.cc
265 DEFINE_bool(use_ic, true, "use inline caching") 272 DEFINE_bool(use_ic, true, "use inline caching")
266 273
267 #ifdef LIVE_OBJECT_LIST 274 #ifdef LIVE_OBJECT_LIST
268 // liveobjectlist.cc 275 // liveobjectlist.cc
269 DEFINE_string(lol_workdir, NULL, "path for lol temp files") 276 DEFINE_string(lol_workdir, NULL, "path for lol temp files")
270 DEFINE_bool(verify_lol, false, "perform debugging verification for lol") 277 DEFINE_bool(verify_lol, false, "perform debugging verification for lol")
271 #endif 278 #endif
272 279
273 // macro-assembler-ia32.cc 280 // macro-assembler-ia32.cc
274 DEFINE_bool(native_code_counters, false, 281 DEFINE_bool(native_code_counters, false,
275 "generate extra code for manipulating stats counters") 282 "generate extra code for manipulating stats counters")
276 283
277 // mark-compact.cc 284 // mark-compact.cc
278 DEFINE_bool(always_compact, false, "Perform compaction on every full GC") 285 DEFINE_bool(always_compact, false, "Perform compaction on every full GC")
286 DEFINE_bool(lazy_sweeping, true,
287 "Use lazy sweeping for old pointer and data spaces")
288 DEFINE_bool(cleanup_caches_in_maps_at_gc, true,
289 "Flush code caches in maps during mark compact cycle.")
279 DEFINE_bool(never_compact, false, 290 DEFINE_bool(never_compact, false,
280 "Never perform compaction on full GC - testing only") 291 "Never perform compaction on full GC - testing only")
292 DEFINE_bool(compact_code_space, false, "Compact code space")
281 DEFINE_bool(cleanup_code_caches_at_gc, true, 293 DEFINE_bool(cleanup_code_caches_at_gc, true,
282 "Flush inline caches prior to mark compact collection and " 294 "Flush inline caches prior to mark compact collection and "
283 "flush code caches in maps during mark compact cycle.") 295 "flush code caches in maps during mark compact cycle.")
284 DEFINE_int(random_seed, 0, 296 DEFINE_int(random_seed, 0,
285 "Default seed for initializing random generator " 297 "Default seed for initializing random generator "
286 "(0, the default, means to use system random).") 298 "(0, the default, means to use system random).")
287 299
288 DEFINE_bool(canonicalize_object_literal_maps, true, 300 DEFINE_bool(canonicalize_object_literal_maps, true,
289 "Canonicalize maps for object literals.") 301 "Canonicalize maps for object literals.")
290 302
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 DEFINE_string(testing_serialization_file, "/tmp/serdes", 353 DEFINE_string(testing_serialization_file, "/tmp/serdes",
342 "file in which to serialize heap") 354 "file in which to serialize heap")
343 #endif 355 #endif
344 356
345 // 357 //
346 // Dev shell flags 358 // Dev shell flags
347 // 359 //
348 360
349 DEFINE_bool(help, false, "Print usage message, including flags, on console") 361 DEFINE_bool(help, false, "Print usage message, including flags, on console")
350 DEFINE_bool(dump_counters, false, "Dump counters on exit") 362 DEFINE_bool(dump_counters, false, "Dump counters on exit")
363
364 #ifdef ENABLE_DEBUGGER_SUPPORT
351 DEFINE_bool(debugger, false, "Enable JavaScript debugger") 365 DEFINE_bool(debugger, false, "Enable JavaScript debugger")
352 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the " 366 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the "
353 "debugger agent in another process") 367 "debugger agent in another process")
354 DEFINE_bool(debugger_agent, false, "Enable debugger agent") 368 DEFINE_bool(debugger_agent, false, "Enable debugger agent")
355 DEFINE_int(debugger_port, 5858, "Port to use for remote debugging") 369 DEFINE_int(debugger_port, 5858, "Port to use for remote debugging")
370 #endif // ENABLE_DEBUGGER_SUPPORT
371
356 DEFINE_string(map_counters, "", "Map counters to a file") 372 DEFINE_string(map_counters, "", "Map counters to a file")
357 DEFINE_args(js_arguments, JSArguments(), 373 DEFINE_args(js_arguments, JSArguments(),
358 "Pass all remaining arguments to the script. Alias for \"--\".") 374 "Pass all remaining arguments to the script. Alias for \"--\".")
359 375
360 #if defined(WEBOS__) 376 #if defined(WEBOS__)
361 DEFINE_bool(debug_compile_events, false, "Enable debugger compile events") 377 DEFINE_bool(debug_compile_events, false, "Enable debugger compile events")
362 DEFINE_bool(debug_script_collected_events, false, 378 DEFINE_bool(debug_script_collected_events, false,
363 "Enable debugger script collected events") 379 "Enable debugger script collected events")
364 #else 380 #else
365 DEFINE_bool(debug_compile_events, true, "Enable debugger compile events") 381 DEFINE_bool(debug_compile_events, true, "Enable debugger compile events")
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 DEFINE_bool(gc_verbose, false, "print stuff during garbage collection") 434 DEFINE_bool(gc_verbose, false, "print stuff during garbage collection")
419 DEFINE_bool(heap_stats, false, "report heap statistics before and after GC") 435 DEFINE_bool(heap_stats, false, "report heap statistics before and after GC")
420 DEFINE_bool(code_stats, false, "report code statistics after GC") 436 DEFINE_bool(code_stats, false, "report code statistics after GC")
421 DEFINE_bool(verify_heap, false, "verify heap pointers before and after GC") 437 DEFINE_bool(verify_heap, false, "verify heap pointers before and after GC")
422 DEFINE_bool(print_handles, false, "report handles after GC") 438 DEFINE_bool(print_handles, false, "report handles after GC")
423 DEFINE_bool(print_global_handles, false, "report global handles after GC") 439 DEFINE_bool(print_global_handles, false, "report global handles after GC")
424 440
425 // ic.cc 441 // ic.cc
426 DEFINE_bool(trace_ic, false, "trace inline cache state transitions") 442 DEFINE_bool(trace_ic, false, "trace inline cache state transitions")
427 443
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
428 // objects.cc 449 // objects.cc
429 DEFINE_bool(trace_normalization, 450 DEFINE_bool(trace_normalization,
430 false, 451 false,
431 "prints when objects are turned into dictionaries.") 452 "prints when objects are turned into dictionaries.")
432 453
433 // runtime.cc 454 // runtime.cc
434 DEFINE_bool(trace_lazy, false, "trace lazy compilation") 455 DEFINE_bool(trace_lazy, false, "trace lazy compilation")
435 456
436 // serialize.cc 457 // serialize.cc
437 DEFINE_bool(debug_serialization, false, 458 DEFINE_bool(debug_serialization, false,
438 "write debug information into the snapshot.") 459 "write debug information into the snapshot.")
439 460
440 // spaces.cc 461 // spaces.cc
441 DEFINE_bool(collect_heap_spill_statistics, false, 462 DEFINE_bool(collect_heap_spill_statistics, false,
442 "report heap spill statistics along with heap_stats " 463 "report heap spill statistics along with heap_stats "
443 "(requires heap_stats)") 464 "(requires heap_stats)")
444 465
445 DEFINE_bool(trace_isolates, false, "trace isolate state changes") 466 DEFINE_bool(trace_isolates, false, "trace isolate state changes")
446 467
468 DEFINE_bool(trace_live_byte_count, false,
469 "trace updates to page live byte count")
470
447 // VM state 471 // VM state
448 DEFINE_bool(log_state_changes, false, "Log state changes.") 472 DEFINE_bool(log_state_changes, false, "Log state changes.")
449 473
450 // Regexp 474 // Regexp
451 DEFINE_bool(regexp_possessive_quantifier, 475 DEFINE_bool(regexp_possessive_quantifier,
452 false, 476 false,
453 "enable possessive quantifier syntax for testing") 477 "enable possessive quantifier syntax for testing")
454 DEFINE_bool(trace_regexp_bytecodes, false, "trace regexp bytecode execution") 478 DEFINE_bool(trace_regexp_bytecodes, false, "trace regexp bytecode execution")
455 DEFINE_bool(trace_regexp_assembler, 479 DEFINE_bool(trace_regexp_assembler,
456 false, 480 false,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 #undef FLAG 542 #undef FLAG
519 543
520 #undef DEFINE_bool 544 #undef DEFINE_bool
521 #undef DEFINE_int 545 #undef DEFINE_int
522 #undef DEFINE_string 546 #undef DEFINE_string
523 547
524 #undef FLAG_MODE_DECLARE 548 #undef FLAG_MODE_DECLARE
525 #undef FLAG_MODE_DEFINE 549 #undef FLAG_MODE_DEFINE
526 #undef FLAG_MODE_DEFINE_DEFAULTS 550 #undef FLAG_MODE_DEFINE_DEFAULTS
527 #undef FLAG_MODE_META 551 #undef FLAG_MODE_META
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/frames.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698