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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 DEFINE_int(gc_interval, -1, "garbage collect after <n> allocations") | 246 DEFINE_int(gc_interval, -1, "garbage collect after <n> allocations") |
247 DEFINE_bool(trace_gc, false, | 247 DEFINE_bool(trace_gc, false, |
248 "print one trace line following each garbage collection") | 248 "print one trace line following each garbage collection") |
249 DEFINE_bool(trace_gc_nvp, false, | 249 DEFINE_bool(trace_gc_nvp, false, |
250 "print one detailed trace line in name=value format " | 250 "print one detailed trace line in name=value format " |
251 "after each garbage collection") | 251 "after each garbage collection") |
252 DEFINE_bool(print_cumulative_gc_stat, false, | 252 DEFINE_bool(print_cumulative_gc_stat, false, |
253 "print cumulative GC statistics in name=value format on exit") | 253 "print cumulative GC statistics in name=value format on exit") |
254 DEFINE_bool(trace_gc_verbose, false, | 254 DEFINE_bool(trace_gc_verbose, false, |
255 "print more details following each garbage collection") | 255 "print more details following each garbage collection") |
| 256 DEFINE_bool(trace_fragmentation, false, |
| 257 "report fragmentation for old pointer and data pages") |
256 DEFINE_bool(collect_maps, true, | 258 DEFINE_bool(collect_maps, true, |
257 "garbage collect maps from which no objects can be reached") | 259 "garbage collect maps from which no objects can be reached") |
258 DEFINE_bool(flush_code, true, | 260 DEFINE_bool(flush_code, false, |
259 "flush code that we expect not to use again before full gc") | 261 "flush code that we expect not to use again before full gc") |
| 262 DEFINE_bool(incremental_marking, true, "use incremental marking") |
| 263 DEFINE_bool(incremental_marking_steps, true, "do incremental marking steps") |
| 264 DEFINE_bool(trace_incremental_marking, false, |
| 265 "trace progress of the incremental marking") |
260 | 266 |
261 // v8.cc | 267 // v8.cc |
262 DEFINE_bool(use_idle_notification, true, | 268 DEFINE_bool(use_idle_notification, true, |
263 "Use idle notification to reduce memory footprint.") | 269 "Use idle notification to reduce memory footprint.") |
264 // ic.cc | 270 // ic.cc |
265 DEFINE_bool(use_ic, true, "use inline caching") | 271 DEFINE_bool(use_ic, true, "use inline caching") |
266 | 272 |
267 #ifdef LIVE_OBJECT_LIST | 273 #ifdef LIVE_OBJECT_LIST |
268 // liveobjectlist.cc | 274 // liveobjectlist.cc |
269 DEFINE_string(lol_workdir, NULL, "path for lol temp files") | 275 DEFINE_string(lol_workdir, NULL, "path for lol temp files") |
270 DEFINE_bool(verify_lol, false, "perform debugging verification for lol") | 276 DEFINE_bool(verify_lol, false, "perform debugging verification for lol") |
271 #endif | 277 #endif |
272 | 278 |
273 // macro-assembler-ia32.cc | 279 // macro-assembler-ia32.cc |
274 DEFINE_bool(native_code_counters, false, | 280 DEFINE_bool(native_code_counters, false, |
275 "generate extra code for manipulating stats counters") | 281 "generate extra code for manipulating stats counters") |
276 | 282 |
277 // mark-compact.cc | 283 // mark-compact.cc |
278 DEFINE_bool(always_compact, false, "Perform compaction on every full GC") | 284 DEFINE_bool(always_compact, false, "Perform compaction on every full GC") |
| 285 DEFINE_bool(lazy_sweeping, true, |
| 286 "Use lazy sweeping for old pointer and data spaces") |
| 287 DEFINE_bool(cleanup_caches_in_maps_at_gc, true, |
| 288 "Flush code caches in maps during mark compact cycle.") |
279 DEFINE_bool(never_compact, false, | 289 DEFINE_bool(never_compact, false, |
280 "Never perform compaction on full GC - testing only") | 290 "Never perform compaction on full GC - testing only") |
281 DEFINE_bool(cleanup_code_caches_at_gc, true, | 291 DEFINE_bool(cleanup_code_caches_at_gc, true, |
282 "Flush inline caches prior to mark compact collection and " | 292 "Flush inline caches prior to mark compact collection and " |
283 "flush code caches in maps during mark compact cycle.") | 293 "flush code caches in maps during mark compact cycle.") |
284 DEFINE_int(random_seed, 0, | 294 DEFINE_int(random_seed, 0, |
285 "Default seed for initializing random generator " | 295 "Default seed for initializing random generator " |
286 "(0, the default, means to use system random).") | 296 "(0, the default, means to use system random).") |
287 | 297 |
288 DEFINE_bool(canonicalize_object_literal_maps, true, | 298 DEFINE_bool(canonicalize_object_literal_maps, true, |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 DEFINE_bool(gc_verbose, false, "print stuff during garbage collection") | 428 DEFINE_bool(gc_verbose, false, "print stuff during garbage collection") |
419 DEFINE_bool(heap_stats, false, "report heap statistics before and after GC") | 429 DEFINE_bool(heap_stats, false, "report heap statistics before and after GC") |
420 DEFINE_bool(code_stats, false, "report code statistics after GC") | 430 DEFINE_bool(code_stats, false, "report code statistics after GC") |
421 DEFINE_bool(verify_heap, false, "verify heap pointers before and after GC") | 431 DEFINE_bool(verify_heap, false, "verify heap pointers before and after GC") |
422 DEFINE_bool(print_handles, false, "report handles after GC") | 432 DEFINE_bool(print_handles, false, "report handles after GC") |
423 DEFINE_bool(print_global_handles, false, "report global handles after GC") | 433 DEFINE_bool(print_global_handles, false, "report global handles after GC") |
424 | 434 |
425 // ic.cc | 435 // ic.cc |
426 DEFINE_bool(trace_ic, false, "trace inline cache state transitions") | 436 DEFINE_bool(trace_ic, false, "trace inline cache state transitions") |
427 | 437 |
| 438 // mark-compact.cc |
| 439 DEFINE_bool(force_marking_deque_overflows, false, |
| 440 "force overflows of marking deque by reducing it's size " |
| 441 "to 64 words") |
| 442 |
428 // objects.cc | 443 // objects.cc |
429 DEFINE_bool(trace_normalization, | 444 DEFINE_bool(trace_normalization, |
430 false, | 445 false, |
431 "prints when objects are turned into dictionaries.") | 446 "prints when objects are turned into dictionaries.") |
432 | 447 |
433 // runtime.cc | 448 // runtime.cc |
434 DEFINE_bool(trace_lazy, false, "trace lazy compilation") | 449 DEFINE_bool(trace_lazy, false, "trace lazy compilation") |
435 | 450 |
436 // serialize.cc | 451 // serialize.cc |
437 DEFINE_bool(debug_serialization, false, | 452 DEFINE_bool(debug_serialization, false, |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
518 #undef FLAG | 533 #undef FLAG |
519 | 534 |
520 #undef DEFINE_bool | 535 #undef DEFINE_bool |
521 #undef DEFINE_int | 536 #undef DEFINE_int |
522 #undef DEFINE_string | 537 #undef DEFINE_string |
523 | 538 |
524 #undef FLAG_MODE_DECLARE | 539 #undef FLAG_MODE_DECLARE |
525 #undef FLAG_MODE_DEFINE | 540 #undef FLAG_MODE_DEFINE |
526 #undef FLAG_MODE_DEFINE_DEFAULTS | 541 #undef FLAG_MODE_DEFINE_DEFAULTS |
527 #undef FLAG_MODE_META | 542 #undef FLAG_MODE_META |
OLD | NEW |