| OLD | NEW |
| 1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 DEFINE_int(max_stack_trace_source_length, 300, | 127 DEFINE_int(max_stack_trace_source_length, 300, |
| 128 "maximum length of function source code printed in a stack trace.") | 128 "maximum length of function source code printed in a stack trace.") |
| 129 | 129 |
| 130 // heap.cc | 130 // heap.cc |
| 131 DEFINE_int(new_space_size, 0, "size of (each semispace in) the new generation") | 131 DEFINE_int(new_space_size, 0, "size of (each semispace in) the new generation") |
| 132 DEFINE_int(old_space_size, 0, "size of the old generation") | 132 DEFINE_int(old_space_size, 0, "size of the old generation") |
| 133 DEFINE_bool(gc_global, false, "always perform global GCs") | 133 DEFINE_bool(gc_global, false, "always perform global GCs") |
| 134 DEFINE_int(gc_interval, -1, "garbage collect after <n> allocations") | 134 DEFINE_int(gc_interval, -1, "garbage collect after <n> allocations") |
| 135 DEFINE_bool(trace_gc, false, | 135 DEFINE_bool(trace_gc, false, |
| 136 "print one trace line following each garbage collection") | 136 "print one trace line following each garbage collection") |
| 137 DEFINE_bool(collect_maps, true, |
| 138 "garbage collect maps from which no objects can be reached") |
| 137 | 139 |
| 138 // ic.cc | 140 // ic.cc |
| 139 DEFINE_bool(use_ic, true, "use inline caching") | 141 DEFINE_bool(use_ic, true, "use inline caching") |
| 140 | 142 |
| 141 // macro-assembler-ia32.cc | 143 // macro-assembler-ia32.cc |
| 142 DEFINE_bool(native_code_counters, false, | 144 DEFINE_bool(native_code_counters, false, |
| 143 "generate extra code for manipulating stats counters") | 145 "generate extra code for manipulating stats counters") |
| 144 | 146 |
| 145 // mark-compact.cc | 147 // mark-compact.cc |
| 146 DEFINE_bool(always_compact, false, "Perform compaction on every full GC") | 148 DEFINE_bool(always_compact, false, "Perform compaction on every full GC") |
| 147 DEFINE_bool(never_compact, false, | 149 DEFINE_bool(never_compact, false, |
| 148 "Never perform compaction on full GC - testing only") | 150 "Never perform compaction on full GC - testing only") |
| 149 DEFINE_bool(cleanup_ics_at_gc, true, | 151 DEFINE_bool(cleanup_ics_at_gc, true, |
| 150 "Flush inline caches prior to mark compact collection.") | 152 "Flush inline caches prior to mark compact collection.") |
| 151 DEFINE_bool(cleanup_caches_in_maps_at_gc, true, | 153 DEFINE_bool(cleanup_caches_in_maps_at_gc, true, |
| 152 "Flush code caches in maps during mark compact cycle.") | 154 "Flush code caches in maps during mark compact cycle.") |
| 153 | 155 |
| 154 DEFINE_bool(canonicalize_object_literal_maps, true, | 156 DEFINE_bool(canonicalize_object_literal_maps, true, |
| 155 "Canonicalize maps for object literals.") | 157 "Canonicalize maps for object literals.") |
| 156 | 158 |
| 157 // mksnapshot.cc | 159 // mksnapshot.cc |
| 158 DEFINE_bool(h, false, "print this message") | 160 DEFINE_bool(h, false, "print this message") |
| 159 | 161 |
| 160 // parser.cc | 162 // parser.cc |
| 161 DEFINE_bool(allow_natives_syntax, false, "allow natives syntax") | 163 DEFINE_bool(allow_natives_syntax, false, "allow natives syntax") |
| 162 | 164 |
| 165 // rewriter.cc |
| 166 DEFINE_bool(optimize_ast, true, "optimize the ast") |
| 167 |
| 163 // simulator-arm.cc | 168 // simulator-arm.cc |
| 164 DEFINE_bool(trace_sim, false, "trace simulator execution") | 169 DEFINE_bool(trace_sim, false, "trace simulator execution") |
| 165 DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") | 170 DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") |
| 166 | 171 |
| 167 // top.cc | 172 // top.cc |
| 168 DEFINE_bool(trace_exception, false, | 173 DEFINE_bool(trace_exception, false, |
| 169 "print stack trace when throwing exceptions") | 174 "print stack trace when throwing exceptions") |
| 170 DEFINE_bool(preallocate_message_memory, false, | 175 DEFINE_bool(preallocate_message_memory, false, |
| 171 "preallocate some memory to build stack traces.") | 176 "preallocate some memory to build stack traces.") |
| 172 | 177 |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 #undef FLAG | 319 #undef FLAG |
| 315 | 320 |
| 316 #undef DEFINE_bool | 321 #undef DEFINE_bool |
| 317 #undef DEFINE_int | 322 #undef DEFINE_int |
| 318 #undef DEFINE_string | 323 #undef DEFINE_string |
| 319 | 324 |
| 320 #undef FLAG_MODE_DECLARE | 325 #undef FLAG_MODE_DECLARE |
| 321 #undef FLAG_MODE_DEFINE | 326 #undef FLAG_MODE_DEFINE |
| 322 #undef FLAG_MODE_DEFINE_DEFAULTS | 327 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 323 #undef FLAG_MODE_META | 328 #undef FLAG_MODE_META |
| OLD | NEW |