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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 DEFINE_int(max_stack_trace_source_length, 300, | 179 DEFINE_int(max_stack_trace_source_length, 300, |
180 "maximum length of function source code printed in a stack trace.") | 180 "maximum length of function source code printed in a stack trace.") |
181 | 181 |
182 // heap.cc | 182 // heap.cc |
183 DEFINE_int(max_new_space_size, 0, "max size of the new generation") | 183 DEFINE_int(max_new_space_size, 0, "max size of the new generation") |
184 DEFINE_int(max_old_space_size, 0, "max size of the old generation") | 184 DEFINE_int(max_old_space_size, 0, "max size of the old generation") |
185 DEFINE_bool(gc_global, false, "always perform global GCs") | 185 DEFINE_bool(gc_global, false, "always perform global GCs") |
186 DEFINE_int(gc_interval, -1, "garbage collect after <n> allocations") | 186 DEFINE_int(gc_interval, -1, "garbage collect after <n> allocations") |
187 DEFINE_bool(trace_gc, false, | 187 DEFINE_bool(trace_gc, false, |
188 "print one trace line following each garbage collection") | 188 "print one trace line following each garbage collection") |
| 189 DEFINE_bool(trace_gc_nvp, false, |
| 190 "print one detailed trace line in name=value format " |
| 191 "after each garbage collection") |
| 192 DEFINE_bool(print_cumulative_gc_stat, false, |
| 193 "print cumulative GC statistics in name=value format on exit") |
189 DEFINE_bool(trace_gc_verbose, false, | 194 DEFINE_bool(trace_gc_verbose, false, |
190 "print more details following each garbage collection") | 195 "print more details following each garbage collection") |
191 DEFINE_bool(collect_maps, true, | 196 DEFINE_bool(collect_maps, true, |
192 "garbage collect maps from which no objects can be reached") | 197 "garbage collect maps from which no objects can be reached") |
193 | 198 |
194 // v8.cc | 199 // v8.cc |
195 DEFINE_bool(use_idle_notification, true, | 200 DEFINE_bool(use_idle_notification, true, |
196 "Use idle notification to reduce memory footprint.") | 201 "Use idle notification to reduce memory footprint.") |
197 // ic.cc | 202 // ic.cc |
198 DEFINE_bool(use_ic, true, "use inline caching") | 203 DEFINE_bool(use_ic, true, "use inline caching") |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 #undef FLAG | 447 #undef FLAG |
443 | 448 |
444 #undef DEFINE_bool | 449 #undef DEFINE_bool |
445 #undef DEFINE_int | 450 #undef DEFINE_int |
446 #undef DEFINE_string | 451 #undef DEFINE_string |
447 | 452 |
448 #undef FLAG_MODE_DECLARE | 453 #undef FLAG_MODE_DECLARE |
449 #undef FLAG_MODE_DEFINE | 454 #undef FLAG_MODE_DEFINE |
450 #undef FLAG_MODE_DEFINE_DEFAULTS | 455 #undef FLAG_MODE_DEFINE_DEFAULTS |
451 #undef FLAG_MODE_META | 456 #undef FLAG_MODE_META |
OLD | NEW |