| OLD | NEW | 
|---|
| 1 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a | 
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef VM_FLAG_LIST_H_ | 5 #ifndef VM_FLAG_LIST_H_ | 
| 6 #define VM_FLAG_LIST_H_ | 6 #define VM_FLAG_LIST_H_ | 
| 7 | 7 | 
| 8 // List of all flags in the VM. | 8 // List of all flags in the VM. | 
| 9 // Flags can be one of three categories: | 9 // Flags can be one of three categories: | 
| 10 // * P roduct flags: Can be set in any of the deployment modes, including in | 10 // * P roduct flags: Can be set in any of the deployment modes, including in | 
| 11 //   production. | 11 //   production. | 
| 12 // * D ebug flags: Can only be set in debug VMs, which also have assertions | 12 // * D ebug flags: Can only be set in debug VMs, which also have assertions | 
| 13 //   enabled. | 13 //   enabled. | 
| 14 // * R elease flags: Generally available flags except when building product. | 14 // * R elease flags: Generally available flags except when building product. | 
| 15 | 15 | 
| 16 #define FLAG_LIST(P, R, D)                                                     \ | 16 #define FLAG_LIST(P, R, D)                                                     \ | 
| 17 R(dedup_instructions, true, bool, false,                                       \ | 17 R(dedup_instructions, true, bool, false,                                       \ | 
| 18   "Canonicalize instructions when precompiling.")                              \ | 18   "Canonicalize instructions when precompiling.")                              \ | 
| 19 R(disable_alloc_stubs_after_gc, false, bool, false,                            \ | 19 R(disable_alloc_stubs_after_gc, false, bool, false,                            \ | 
| 20   "Stress testing flag.")                                                      \ | 20   "Stress testing flag.")                                                      \ | 
| 21 R(disassemble, false, bool, false,                                             \ | 21 R(disassemble, false, bool, false,                                             \ | 
| 22   "Disassemble dart code.")                                                    \ | 22   "Disassemble dart code.")                                                    \ | 
| 23 R(disassemble_optimized, false, bool, false,                                   \ | 23 R(disassemble_optimized, false, bool, false,                                   \ | 
| 24   "Disassemble optimized code.")                                               \ | 24   "Disassemble optimized code.")                                               \ | 
| 25 R(dump_symbol_stats, false, bool, false,                                       \ | 25 R(dump_symbol_stats, false, bool, false,                                       \ | 
| 26   "Dump symbol table statistics")                                              \ | 26   "Dump symbol table statistics")                                              \ | 
|  | 27 R(enable_mirrors, false, bool, true,                                           \ | 
|  | 28   "Disable to make importing dart:mirrors an error.")                          \ | 
| 27 R(gc_at_alloc, false, bool, false,                                             \ | 29 R(gc_at_alloc, false, bool, false,                                             \ | 
| 28   "GC at every allocation.")                                                   \ | 30   "GC at every allocation.")                                                   \ | 
| 29 P(new_gen_ext_limit, int, 64,                                                  \ | 31 P(new_gen_ext_limit, int, 64,                                                  \ | 
| 30   "maximum total external size (MB) in new gen before triggering GC")          \ | 32   "maximum total external size (MB) in new gen before triggering GC")          \ | 
| 31 R(pretenure_all, false, bool, false,                                           \ | 33 R(pretenure_all, false, bool, false,                                           \ | 
| 32   "Global pretenuring (for testing).")                                         \ | 34   "Global pretenuring (for testing).")                                         \ | 
| 33 P(pretenure_interval, int, 10,                                                 \ | 35 P(pretenure_interval, int, 10,                                                 \ | 
| 34   "Back off pretenuring after this many cycles.")                              \ | 36   "Back off pretenuring after this many cycles.")                              \ | 
| 35 P(pretenure_threshold, int, 98,                                                \ | 37 P(pretenure_threshold, int, 98,                                                \ | 
| 36   "Trigger pretenuring when this many percent are promoted.")                  \ | 38   "Trigger pretenuring when this many percent are promoted.")                  \ | 
| (...skipping 23 matching lines...) Expand all  Loading... | 
| 60   "Enables verbose GC.")                                                       \ | 62   "Enables verbose GC.")                                                       \ | 
| 61 P(verbose_gc_hdr, int, 40,                                                     \ | 63 P(verbose_gc_hdr, int, 40,                                                     \ | 
| 62   "Print verbose GC header interval.")                                         \ | 64   "Print verbose GC header interval.")                                         \ | 
| 63 R(verify_after_gc, false, bool, false,                                         \ | 65 R(verify_after_gc, false, bool, false,                                         \ | 
| 64   "Enables heap verification after GC.")                                       \ | 66   "Enables heap verification after GC.")                                       \ | 
| 65 R(verify_before_gc, false, bool, false,                                        \ | 67 R(verify_before_gc, false, bool, false,                                        \ | 
| 66   "Enables heap verification before GC.")                                      \ | 68   "Enables heap verification before GC.")                                      \ | 
| 67 | 69 | 
| 68 | 70 | 
| 69 #endif  // VM_FLAG_LIST_H_ | 71 #endif  // VM_FLAG_LIST_H_ | 
| OLD | NEW | 
|---|