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") |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 #undef FLAG | 314 #undef FLAG |
313 | 315 |
314 #undef DEFINE_bool | 316 #undef DEFINE_bool |
315 #undef DEFINE_int | 317 #undef DEFINE_int |
316 #undef DEFINE_string | 318 #undef DEFINE_string |
317 | 319 |
318 #undef FLAG_MODE_DECLARE | 320 #undef FLAG_MODE_DECLARE |
319 #undef FLAG_MODE_DEFINE | 321 #undef FLAG_MODE_DEFINE |
320 #undef FLAG_MODE_DEFINE_DEFAULTS | 322 #undef FLAG_MODE_DEFINE_DEFAULTS |
321 #undef FLAG_MODE_META | 323 #undef FLAG_MODE_META |
OLD | NEW |