Advertisement
Guest User

Untitled

a guest
Apr 18th, 2015
1,060
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.68 KB | None | 0 0
  1. $ d8 --help
  2. SSE3=1 SSE4_1=1 SAHF=1 AVX=1 FMA3=1 ATOM=0
  3. Usage:
  4. shell [options] -e string
  5. execute string in V8
  6. shell [options] file1 file2 ... filek
  7. run JavaScript scripts in file1, file2, ..., filek
  8. shell [options]
  9. shell [options] --shell [file1 file2 ... filek]
  10. run an interactive JavaScript shell
  11. d8 [options] file1 file2 ... filek
  12. d8 [options]
  13. d8 [options] --shell [file1 file2 ... filek]
  14. run the new debugging shell
  15.  
  16. Options:
  17. --use_strict (enforce strict mode)
  18. type: bool default: false
  19. --use_strong (enforce strong mode)
  20. type: bool default: false
  21. --strong_mode (experimental strong language mode)
  22. type: bool default: false
  23. --es_staging (enable all completed harmony features)
  24. type: bool default: false
  25. --harmony (enable all completed harmony features)
  26. type: bool default: false
  27. --harmony_shipping (enable all shipped harmony fetaures)
  28. type: bool default: true
  29. --harmony_modules (enable "harmony modules (implies block scoping)" (in progress))
  30. type: bool default: false
  31. --harmony_arrays (enable "harmony array methods" (in progress))
  32. type: bool default: false
  33. --harmony_array_includes (enable "harmony Array.prototype.includes" (in progress))
  34. type: bool default: false
  35. --harmony_regexps (enable "harmony regular expression extensions" (in progress))
  36. type: bool default: false
  37. --harmony_arrow_functions (enable "harmony arrow functions" (in progress))
  38. type: bool default: false
  39. --harmony_proxies (enable "harmony proxies" (in progress))
  40. type: bool default: false
  41. --harmony_sloppy (enable "harmony features in sloppy mode" (in progress))
  42. type: bool default: false
  43. --harmony_unicode (enable "harmony unicode escapes" (in progress))
  44. type: bool default: false
  45. --harmony_unicode_regexps (enable "harmony unicode regexps" (in progress))
  46. type: bool default: false
  47. --harmony_computed_property_names (enable "harmony computed property names" (in progress))
  48. type: bool default: false
  49. --harmony_rest_parameters (enable "harmony rest parameters" (in progress))
  50. type: bool default: false
  51. --harmony_tostring (enable "harmony toString")
  52. type: bool default: false
  53. --harmony_numeric_literals (enable "harmony numeric literals")
  54. type: bool default: true
  55. --harmony_strings (enable "harmony string methods")
  56. type: bool default: true
  57. --harmony_scoping (enable "harmony block scoping")
  58. type: bool default: true
  59. --harmony_templates (enable "harmony template literals")
  60. type: bool default: true
  61. --harmony_classes (enable "harmony classes (implies block scoping & object literal extension)")
  62. type: bool default: true
  63. --harmony_object_literals (enable "harmony object literal extensions")
  64. type: bool default: true
  65. --compiled_keyed_generic_loads (use optimizing compiler to generate keyed generic load stubs)
  66. type: bool default: false
  67. --pretenuring_call_new (pretenure call new)
  68. type: bool default: false
  69. --allocation_site_pretenuring (pretenure with allocation sites)
  70. type: bool default: true
  71. --trace_pretenuring (trace pretenuring decisions of HAllocate instructions)
  72. type: bool default: false
  73. --trace_pretenuring_statistics (trace allocation site pretenuring statistics)
  74. type: bool default: false
  75. --track_fields (track fields with only smi values)
  76. type: bool default: true
  77. --track_double_fields (track fields with double values)
  78. type: bool default: true
  79. --track_heap_object_fields (track fields with heap values)
  80. type: bool default: true
  81. --track_computed_fields (track computed boilerplate fields)
  82. type: bool default: true
  83. --track_field_types (track field types)
  84. type: bool default: true
  85. --smi_binop (support smi representation in binary operations)
  86. type: bool default: true
  87. --vector_ics (support vector-based ics)
  88. type: bool default: false
  89. --optimize_for_size (Enables optimizations which favor memory size over execution speed.)
  90. type: bool default: false
  91. --unbox_double_arrays (automatically unbox arrays of doubles)
  92. type: bool default: true
  93. --string_slices (use string slices)
  94. type: bool default: true
  95. --crankshaft (use crankshaft)
  96. type: bool default: true
  97. --hydrogen_filter (optimization filter)
  98. type: string default: *
  99. --use_gvn (use hydrogen global value numbering)
  100. type: bool default: true
  101. --gvn_iterations (maximum number of GVN fix-point iterations)
  102. type: int default: 3
  103. --use_canonicalizing (use hydrogen instruction canonicalizing)
  104. type: bool default: true
  105. --use_inlining (use function inlining)
  106. type: bool default: true
  107. --use_escape_analysis (use hydrogen escape analysis)
  108. type: bool default: true
  109. --use_allocation_folding (use allocation folding)
  110. type: bool default: true
  111. --use_local_allocation_folding (only fold in basic blocks)
  112. type: bool default: false
  113. --use_write_barrier_elimination (eliminate write barriers targeting allocations in optimized code)
  114. type: bool default: true
  115. --max_inlining_levels (maximum number of inlining levels)
  116. type: int default: 5
  117. --max_inlined_source_size (maximum source size in bytes considered for a single inlining)
  118. type: int default: 600
  119. --max_inlined_nodes (maximum number of AST nodes considered for a single inlining)
  120. type: int default: 196
  121. --max_inlined_nodes_cumulative (maximum cumulative number of AST nodes considered for inlining)
  122. type: int default: 400
  123. --loop_invariant_code_motion (loop invariant code motion)
  124. type: bool default: true
  125. --fast_math (faster (but maybe less accurate) math functions)
  126. type: bool default: true
  127. --collect_megamorphic_maps_from_stub_cache (crankshaft harvests type feedback from stub cache)
  128. type: bool default: true
  129. --hydrogen_stats (print statistics for hydrogen)
  130. type: bool default: false
  131. --trace_check_elimination (trace check elimination phase)
  132. type: bool default: false
  133. --trace_hydrogen (trace generated hydrogen to file)
  134. type: bool default: false
  135. --trace_hydrogen_filter (hydrogen tracing filter)
  136. type: string default: *
  137. --trace_hydrogen_stubs (trace generated hydrogen for stubs)
  138. type: bool default: false
  139. --trace_hydrogen_file (trace hydrogen to given file name)
  140. type: string default: NULL
  141. --trace_phase (trace generated IR for specified phases)
  142. type: string default: HLZ
  143. --trace_inlining (trace inlining decisions)
  144. type: bool default: false
  145. --trace_load_elimination (trace load elimination)
  146. type: bool default: false
  147. --trace_store_elimination (trace store elimination)
  148. type: bool default: false
  149. --trace_alloc (trace register allocator)
  150. type: bool default: false
  151. --trace_all_uses (trace all use positions)
  152. type: bool default: false
  153. --trace_range (trace range analysis)
  154. type: bool default: false
  155. --trace_gvn (trace global value numbering)
  156. type: bool default: false
  157. --trace_representation (trace representation types)
  158. type: bool default: false
  159. --trace_removable_simulates (trace removable simulates)
  160. type: bool default: false
  161. --trace_escape_analysis (trace hydrogen escape analysis)
  162. type: bool default: false
  163. --trace_allocation_folding (trace allocation folding)
  164. type: bool default: false
  165. --trace_track_allocation_sites (trace the tracking of allocation sites)
  166. type: bool default: false
  167. --trace_migration (trace object migration)
  168. type: bool default: false
  169. --trace_generalization (trace map generalization)
  170. type: bool default: false
  171. --stress_pointer_maps (pointer map for every instruction)
  172. type: bool default: false
  173. --stress_environments (environment for every instruction)
  174. type: bool default: false
  175. --deopt_every_n_times (deoptimize every n times a deopt point is passed)
  176. type: int default: 0
  177. --deopt_every_n_garbage_collections (deoptimize every n garbage collections)
  178. type: int default: 0
  179. --print_deopt_stress (print number of possible deopt points)
  180. type: bool default: false
  181. --trap_on_deopt (put a break point before deoptimizing)
  182. type: bool default: false
  183. --trap_on_stub_deopt (put a break point before deoptimizing a stub)
  184. type: bool default: false
  185. --deoptimize_uncommon_cases (deoptimize uncommon cases)
  186. type: bool default: true
  187. --polymorphic_inlining (polymorphic inlining)
  188. type: bool default: true
  189. --use_osr (use on-stack replacement)
  190. type: bool default: true
  191. --array_bounds_checks_elimination (perform array bounds checks elimination)
  192. type: bool default: true
  193. --trace_bce (trace array bounds check elimination)
  194. type: bool default: false
  195. --array_bounds_checks_hoisting (perform array bounds checks hoisting)
  196. type: bool default: false
  197. --array_index_dehoisting (perform array index dehoisting)
  198. type: bool default: true
  199. --analyze_environment_liveness (analyze liveness of environment slots and zap dead values)
  200. type: bool default: true
  201. --load_elimination (use load elimination)
  202. type: bool default: true
  203. --check_elimination (use check elimination)
  204. type: bool default: true
  205. --store_elimination (use store elimination)
  206. type: bool default: false
  207. --dead_code_elimination (use dead code elimination)
  208. type: bool default: true
  209. --fold_constants (use constant folding)
  210. type: bool default: true
  211. --trace_dead_code_elimination (trace dead code elimination)
  212. type: bool default: false
  213. --unreachable_code_elimination (eliminate unreachable code)
  214. type: bool default: true
  215. --trace_osr (trace on-stack replacement)
  216. type: bool default: false
  217. --stress_runs (number of stress runs)
  218. type: int default: 0
  219. --lookup_sample_by_shared (when picking a function to optimize, watch for shared function info, not JSFunction itself)
  220. type: bool default: true
  221. --cache_optimized_code (cache optimized code for closures)
  222. type: bool default: true
  223. --flush_optimized_code_cache (flushes the cache of optimized code for closures on every GC)
  224. type: bool default: true
  225. --inline_construct (inline constructor calls)
  226. type: bool default: true
  227. --inline_arguments (inline functions with arguments object)
  228. type: bool default: true
  229. --inline_accessors (inline JavaScript accessors)
  230. type: bool default: true
  231. --escape_analysis_iterations (maximum number of escape analysis fix-point iterations)
  232. type: int default: 2
  233. --optimize_for_in (optimize functions containing for-in loops)
  234. type: bool default: true
  235. --concurrent_recompilation (optimizing hot functions asynchronously on a separate thread)
  236. type: bool default: true
  237. --job_based_recompilation (post tasks to v8::Platform instead of using a thread for concurrent recompilation)
  238. type: bool default: true
  239. --trace_concurrent_recompilation (track concurrent recompilation)
  240. type: bool default: false
  241. --concurrent_recompilation_queue_length (the length of the concurrent compilation queue)
  242. type: int default: 8
  243. --concurrent_recompilation_delay (artificial compilation delay in ms)
  244. type: int default: 0
  245. --block_concurrent_recompilation (block queued jobs until released)
  246. type: bool default: false
  247. --concurrent_osr (concurrent on-stack replacement)
  248. type: bool default: true
  249. --omit_map_checks_for_leaf_maps (do not emit check maps for constant values that have a leaf map, deoptimize the optimized code if the layout of the maps changes.)
  250. type: bool default: true
  251. --turbo_filter (optimization filter for TurboFan compiler)
  252. type: string default: ~
  253. --trace_turbo (trace generated TurboFan IR)
  254. type: bool default: false
  255. --trace_turbo_graph (trace generated TurboFan graphs)
  256. type: bool default: false
  257. --trace_turbo_cfg_file (trace turbo cfg graph (for C1 visualizer) to a given file name)
  258. type: string default: NULL
  259. --trace_turbo_types (trace TurboFan's types)
  260. type: bool default: true
  261. --trace_turbo_scheduler (trace TurboFan's scheduler)
  262. type: bool default: false
  263. --trace_turbo_reduction (trace TurboFan's various reducers)
  264. type: bool default: false
  265. --trace_turbo_jt (trace TurboFan's jump threading)
  266. type: bool default: false
  267. --turbo_asm (enable TurboFan for asm.js code)
  268. type: bool default: true
  269. --turbo_verify (verify TurboFan graphs at each phase)
  270. type: bool default: false
  271. --turbo_stats (print TurboFan statistics)
  272. type: bool default: false
  273. --turbo_splitting (split nodes during scheduling in TurboFan)
  274. type: bool default: true
  275. --turbo_types (use typed lowering in TurboFan)
  276. type: bool default: true
  277. --turbo_source_positions (track source code positions when building TurboFan IR)
  278. type: bool default: false
  279. --context_specialization (enable context specialization in TurboFan)
  280. type: bool default: false
  281. --turbo_deoptimization (enable deoptimization in TurboFan)
  282. type: bool default: false
  283. --turbo_inlining (enable inlining in TurboFan)
  284. type: bool default: false
  285. --trace_turbo_inlining (trace TurboFan inlining)
  286. type: bool default: false
  287. --loop_assignment_analysis (perform loop assignment analysis)
  288. type: bool default: true
  289. --turbo_profiling (enable profiling in TurboFan)
  290. type: bool default: false
  291. --turbo_delay_ssa_decon (delay ssa deconstruction in TurboFan register allocator)
  292. type: bool default: false
  293. --turbo_verify_allocation (verify register allocation in TurboFan)
  294. type: bool default: false
  295. --turbo_move_optimization (optimize gap moves in TurboFan)
  296. type: bool default: true
  297. --turbo_jt (enable jump threading in TurboFan)
  298. type: bool default: true
  299. --turbo_osr (enable OSR in TurboFan)
  300. type: bool default: false
  301. --turbo_exceptions (enable exception handling in TurboFan)
  302. type: bool default: false
  303. --turbo_stress_loop_peeling (stress loop peeling optimization)
  304. type: bool default: false
  305. --turbo_cf_optimization (optimize control flow in TurboFan)
  306. type: bool default: true
  307. --typed_array_max_size_in_heap (threshold for in-heap typed array)
  308. type: int default: 64
  309. --frame_count (number of stack frames inspected by the profiler)
  310. type: int default: 1
  311. --interrupt_budget (execution budget before interrupt is triggered)
  312. type: int default: 6144
  313. --type_info_threshold (percentage of ICs that must have type info to allow optimization)
  314. type: int default: 25
  315. --generic_ic_threshold (max percentage of megamorphic/generic ICs to allow optimization)
  316. type: int default: 30
  317. --self_opt_count (call count before self-optimization)
  318. type: int default: 130
  319. --trace_opt_verbose (extra verbose compilation tracing)
  320. type: bool default: false
  321. --debug_code (generate extra code (assertions) for debugging)
  322. type: bool default: false
  323. --code_comments (emit comments in code disassembly)
  324. type: bool default: false
  325. --enable_sse3 (enable use of SSE3 instructions if available)
  326. type: bool default: true
  327. --enable_sse4_1 (enable use of SSE4.1 instructions if available)
  328. type: bool default: true
  329. --enable_sahf (enable use of SAHF instruction if available (X64 only))
  330. type: bool default: true
  331. --enable_avx (enable use of AVX instructions if available)
  332. type: bool default: true
  333. --enable_fma3 (enable use of FMA3 instructions if available)
  334. type: bool default: true
  335. --enable_vfp3 (enable use of VFP3 instructions if available)
  336. type: bool default: true
  337. --enable_armv7 (enable use of ARMv7 instructions if available (ARM only))
  338. type: bool default: true
  339. --enable_armv8 (enable use of ARMv8 instructions if available (ARM 32-bit only))
  340. type: bool default: true
  341. --enable_neon (enable use of NEON instructions if available (ARM only))
  342. type: bool default: true
  343. --enable_sudiv (enable use of SDIV and UDIV instructions if available (ARM only))
  344. type: bool default: true
  345. --enable_mls (enable use of MLS instructions if available (ARM only))
  346. type: bool default: true
  347. --enable_movw_movt (enable loading 32-bit constant by means of movw/movt instruction pairs (ARM only))
  348. type: bool default: false
  349. --enable_unaligned_accesses (enable unaligned accesses for ARMv7 (ARM only))
  350. type: bool default: true
  351. --enable_32dregs (enable use of d16-d31 registers on ARM - this requires VFP3)
  352. type: bool default: true
  353. --enable_vldr_imm (enable use of constant pools for double immediate (ARM only))
  354. type: bool default: false
  355. --force_long_branches (force all emitted branches to be in long mode (MIPS/PPC only))
  356. type: bool default: false
  357. --mcpu (enable optimization for specific cpu)
  358. type: string default: auto
  359. --expose_natives_as (expose natives in global object)
  360. type: string default: NULL
  361. --expose_debug_as (expose debug in global object)
  362. type: string default: NULL
  363. --expose_free_buffer (expose freeBuffer extension)
  364. type: bool default: false
  365. --expose_gc (expose gc extension)
  366. type: bool default: false
  367. --expose_gc_as (expose gc extension under the specified name)
  368. type: string default: NULL
  369. --expose_externalize_string (expose externalize string extension)
  370. type: bool default: false
  371. --expose_trigger_failure (expose trigger-failure extension)
  372. type: bool default: false
  373. --stack_trace_limit (number of stack frames to capture)
  374. type: int default: 10
  375. --builtins_in_stack_traces (show built-in functions in stack traces)
  376. type: bool default: false
  377. --disable_native_files (disable builtin natives files)
  378. type: bool default: false
  379. --inline_new (use fast inline allocation)
  380. type: bool default: true
  381. --trace_codegen (print name of functions for which code is generated)
  382. type: bool default: false
  383. --trace (trace function calls)
  384. type: bool default: false
  385. --mask_constants_with_cookie (use random jit cookie to mask large constants)
  386. type: bool default: true
  387. --lazy (use lazy compilation)
  388. type: bool default: true
  389. --trace_opt (trace lazy optimization)
  390. type: bool default: false
  391. --trace_opt_stats (trace lazy optimization statistics)
  392. type: bool default: false
  393. --opt (use adaptive optimizations)
  394. type: bool default: true
  395. --always_opt (always try to optimize functions)
  396. type: bool default: false
  397. --always_osr (always try to OSR functions)
  398. type: bool default: false
  399. --prepare_always_opt (prepare for turning on always opt)
  400. type: bool default: false
  401. --trace_deopt (trace optimize function deoptimization)
  402. type: bool default: false
  403. --trace_stub_failures (trace deoptimization of generated code stubs)
  404. type: bool default: false
  405. --serialize_toplevel (enable caching of toplevel scripts)
  406. type: bool default: true
  407. --serialize_inner (enable caching of inner functions)
  408. type: bool default: true
  409. --trace_serializer (print code serializer trace)
  410. type: bool default: false
  411. --min_preparse_length (minimum length for automatic enable preparsing)
  412. type: int default: 1024
  413. --max_opt_count (maximum number of optimization attempts before giving up.)
  414. type: int default: 10
  415. --compilation_cache (enable compilation cache)
  416. type: bool default: true
  417. --cache_prototype_transitions (cache prototype transitions)
  418. type: bool default: true
  419. --cpu_profiler_sampling_interval (CPU profiler sampling interval in microseconds)
  420. type: int default: 1000
  421. --trace_debug_json (trace debugging JSON request/response)
  422. type: bool default: false
  423. --trace_js_array_abuse (trace out-of-bounds accesses to JS arrays)
  424. type: bool default: false
  425. --trace_external_array_abuse (trace out-of-bounds-accesses to external arrays)
  426. type: bool default: false
  427. --trace_array_abuse (trace out-of-bounds accesses to all arrays)
  428. type: bool default: false
  429. --enable_liveedit (enable liveedit experimental feature)
  430. type: bool default: true
  431. --hard_abort (abort by crashing)
  432. type: bool default: true
  433. --stack_size (default size of stack region v8 is allowed to use (in kBytes))
  434. type: int default: 984
  435. --max_stack_trace_source_length (maximum length of function source code printed in a stack trace.)
  436. type: int default: 300
  437. --always_inline_smi_code (always inline smi code in non-opt code)
  438. type: bool default: false
  439. --min_semi_space_size (min size of a semi-space (in MBytes), the new space consists of twosemi-spaces)
  440. type: int default: 0
  441. --target_semi_space_size (target size of a semi-space (in MBytes) before triggering a GC)
  442. type: int default: 0
  443. --max_semi_space_size (max size of a semi-space (in MBytes), the new space consists of twosemi-spaces)
  444. type: int default: 0
  445. --semi_space_growth_factor (factor by which to grow the new space)
  446. type: int default: 2
  447. --experimental_new_space_growth_heuristic (Grow the new space based on the percentage of survivors instead of their absolute value.)
  448. type: bool default: false
  449. --max_old_space_size (max size of the old space (in Mbytes))
  450. type: int default: 0
  451. --initial_old_space_size (initial old space size (in Mbytes))
  452. type: int default: 0
  453. --max_executable_size (max size of executable memory (in Mbytes))
  454. type: int default: 0
  455. --gc_global (always perform global GCs)
  456. type: bool default: false
  457. --gc_interval (garbage collect after <n> allocations)
  458. type: int default: -1
  459. --trace_gc (print one trace line following each garbage collection)
  460. type: bool default: false
  461. --trace_gc_nvp (print one detailed trace line in name=value format after each garbage collection)
  462. type: bool default: false
  463. --trace_gc_ignore_scavenger (do not print trace line after scavenger collection)
  464. type: bool default: false
  465. --trace_idle_notification (print one trace line following each idle notification)
  466. type: bool default: false
  467. --trace_idle_notification_verbose (prints the heap state used by the idle notification)
  468. type: bool default: false
  469. --print_cumulative_gc_stat (print cumulative GC statistics in name=value format on exit)
  470. type: bool default: false
  471. --print_max_heap_committed (print statistics of the maximum memory committed for the heap in name=value format on exit)
  472. type: bool default: false
  473. --trace_gc_verbose (print more details following each garbage collection)
  474. type: bool default: false
  475. --trace_fragmentation (report fragmentation for old pointer and data pages)
  476. type: bool default: false
  477. --collect_maps (garbage collect maps from which no objects can be reached)
  478. type: bool default: true
  479. --weak_embedded_maps_in_optimized_code (make maps embedded in optimized code weak)
  480. type: bool default: true
  481. --weak_embedded_objects_in_optimized_code (make objects embedded in optimized code weak)
  482. type: bool default: true
  483. --flush_code (flush code that we expect not to use again (during full gc))
  484. type: bool default: true
  485. --flush_code_incrementally (flush code that we expect not to use again (incrementally))
  486. type: bool default: true
  487. --trace_code_flushing (trace code flushing progress)
  488. type: bool default: false
  489. --age_code (track un-executed functions to age code and flush only old code (required for code flushing))
  490. type: bool default: true
  491. --incremental_marking (use incremental marking)
  492. type: bool default: true
  493. --incremental_marking_steps (do incremental marking steps)
  494. type: bool default: true
  495. --overapproximate_weak_closure (overapproximate weak closer to reduce atomic pause time)
  496. type: bool default: false
  497. --concurrent_sweeping (use concurrent sweeping)
  498. type: bool default: true
  499. --trace_incremental_marking (trace progress of the incremental marking)
  500. type: bool default: false
  501. --track_gc_object_stats (track object counts and memory usage)
  502. type: bool default: false
  503. --track_detached_contexts (track native contexts that are expected to be garbage collected)
  504. type: bool default: true
  505. --trace_detached_contexts (trace native contexts that are expected to be garbage collected)
  506. type: bool default: false
  507. --heap_profiler_trace_objects (Dump heap object allocations/movements/size_updates)
  508. type: bool default: false
  509. --use_idle_notification (Use idle notification to reduce memory footprint.)
  510. type: bool default: true
  511. --use_ic (use inline caching)
  512. type: bool default: true
  513. --trace_ic (trace inline cache state transitions)
  514. type: bool default: false
  515. --native_code_counters (generate extra code for manipulating stats counters)
  516. type: bool default: false
  517. --always_compact (Perform compaction on every full GC)
  518. type: bool default: false
  519. --never_compact (Never perform compaction on full GC - testing only)
  520. type: bool default: false
  521. --compact_code_space (Compact code space on full non-incremental collections)
  522. type: bool default: true
  523. --incremental_code_compaction (Compact code space on full incremental collections)
  524. type: bool default: true
  525. --cleanup_code_caches_at_gc (Flush inline caches prior to mark compact collection and flush code caches in maps during mark compact cycle.)
  526. type: bool default: true
  527. --use_marking_progress_bar (Use a progress bar to scan large objects in increments when incremental marking is active.)
  528. type: bool default: true
  529. --zap_code_space (Zap free memory in code space with 0xCC while sweeping.)
  530. type: bool default: true
  531. --random_seed (Default seed for initializing random generator (0, the default, means to use system random).)
  532. type: int default: 0
  533. --trace_weak_arrays (trace WeakFixedArray usage)
  534. type: bool default: false
  535. --track_prototype_users (keep track of which maps refer to a given prototype object)
  536. type: bool default: false
  537. --use_verbose_printer (allows verbose printing)
  538. type: bool default: true
  539. --allow_natives_syntax (allow natives syntax)
  540. type: bool default: false
  541. --trace_parse (trace parsing and preparsing)
  542. type: bool default: false
  543. --trace_sim (Trace simulator execution)
  544. type: bool default: false
  545. --debug_sim (Enable debugging the simulator)
  546. type: bool default: false
  547. --check_icache (Check icache flushes in ARM and MIPS simulator)
  548. type: bool default: false
  549. --stop_sim_at (Simulator stop after x number of instructions)
  550. type: int default: 0
  551. --sim_stack_alignment (Stack alingment in bytes in simulator (4 or 8, 8 is default))
  552. type: int default: 8
  553. --sim_stack_size (Stack size of the ARM64 and MIPS64 simulator in kBytes (default is 2 MB))
  554. type: int default: 2048
  555. --log_regs_modified (When logging register values, only print modified registers.)
  556. type: bool default: true
  557. --log_colour (When logging, try to use coloured output.)
  558. type: bool default: true
  559. --ignore_asm_unimplemented_break (Don't break for ASM_UNIMPLEMENTED_BREAK macros.)
  560. type: bool default: false
  561. --trace_sim_messages (Trace simulator debug messages. Implied by --trace-sim.)
  562. type: bool default: false
  563. --stack_trace_on_illegal (print stack trace when an illegal exception is thrown)
  564. type: bool default: false
  565. --abort_on_uncaught_exception (abort program (dump core) when an uncaught exception is thrown)
  566. type: bool default: false
  567. --randomize_hashes (randomize hashes to avoid predictable hash collisions (with snapshots this option cannot override the baked-in seed))
  568. type: bool default: true
  569. --hash_seed (Fixed seed to use to hash property keys (0 means random)(with snapshots this option cannot override the baked-in seed))
  570. type: int default: 0
  571. --profile_deserialization (Print the time it takes to deserialize the snapshot.)
  572. type: bool default: false
  573. --regexp_optimization (generate optimized regexp code)
  574. type: bool default: true
  575. --testing_bool_flag (testing_bool_flag)
  576. type: bool default: true
  577. --testing_maybe_bool_flag (testing_maybe_bool_flag)
  578. type: maybe_bool default: unset
  579. --testing_int_flag (testing_int_flag)
  580. type: int default: 13
  581. --testing_float_flag (float-flag)
  582. type: float default: 2.5
  583. --testing_string_flag (string-flag)
  584. type: string default: Hello, world!
  585. --testing_prng_seed (Seed used for threading test randomness)
  586. type: int default: 42
  587. --testing_serialization_file (file in which to serialize heap)
  588. type: string default: /tmp/serdes
  589. --startup_blob (Write V8 startup blob file. (mksnapshot only))
  590. type: string default: NULL
  591. --profile_hydrogen_code_stub_compilation (Print the time it takes to lazily compile hydrogen code stubs.)
  592. type: bool default: false
  593. --predictable (enable predictable mode)
  594. type: bool default: false
  595. --force_marking_deque_overflows (force overflows of marking deque by reducing it's size to 64 words)
  596. type: bool default: false
  597. --stress_compaction (stress the GC compactor to flush out bugs (implies --force_marking_deque_overflows))
  598. type: bool default: false
  599. --help (Print usage message, including flags, on console)
  600. type: bool default: true
  601. --dump_counters (Dump counters on exit)
  602. type: bool default: false
  603. --debugger (Enable JavaScript debugger)
  604. type: bool default: false
  605. --map_counters (Map counters to a file)
  606. type: string default:
  607. --js_arguments (Pass all remaining arguments to the script. Alias for "--".)
  608. type: arguments default:
  609. --gdbjit (enable GDBJIT interface)
  610. type: bool default: false
  611. --gdbjit_full (enable GDBJIT interface for all code objects)
  612. type: bool default: false
  613. --gdbjit_dump (dump elf objects with debug info to disk)
  614. type: bool default: false
  615. --gdbjit_dump_filter (dump only objects containing this substring)
  616. type: string default:
  617. --log (Minimal logging (no API, code, GC, suspect, or handles samples).)
  618. type: bool default: false
  619. --log_all (Log all events to the log file.)
  620. type: bool default: false
  621. --log_api (Log API events to the log file.)
  622. type: bool default: false
  623. --log_code (Log code events to the log file without profiling.)
  624. type: bool default: false
  625. --log_gc (Log heap samples on garbage collection for the hp2ps tool.)
  626. type: bool default: false
  627. --log_handles (Log global handle events.)
  628. type: bool default: false
  629. --log_snapshot_positions (log positions of (de)serialized objects in the snapshot.)
  630. type: bool default: false
  631. --log_suspect (Log suspect operations.)
  632. type: bool default: false
  633. --prof (Log statistical profiling information (implies --log-code).)
  634. type: bool default: false
  635. --prof_cpp (Like --prof, but ignore generated code.)
  636. type: bool default: false
  637. --prof_browser_mode (Used with --prof, turns on browser-compatible mode for profiling.)
  638. type: bool default: true
  639. --log_regexp (Log regular expression execution.)
  640. type: bool default: false
  641. --logfile (Specify the name of the log file.)
  642. type: string default: v8.log
  643. --logfile_per_isolate (Separate log files for each isolate.)
  644. type: bool default: true
  645. --ll_prof (Enable low-level linux profiler.)
  646. type: bool default: false
  647. --perf_basic_prof (Enable perf linux profiler (basic support).)
  648. type: bool default: false
  649. --perf_jit_prof (Enable perf linux profiler (experimental annotate support).)
  650. type: bool default: false
  651. --gc_fake_mmap (Specify the name of the file for fake gc mmap used in ll_prof)
  652. type: string default: /tmp/__v8_gc__
  653. --log_internal_timer_events (Time internal events.)
  654. type: bool default: false
  655. --log_timer_events (Time events including external callbacks.)
  656. type: bool default: false
  657. --log_instruction_stats (Log AArch64 instruction statistics.)
  658. type: bool default: false
  659. --log_instruction_file (AArch64 instruction statistics log file.)
  660. type: string default: arm64_inst.csv
  661. --log_instruction_period (AArch64 instruction statistics logging period.)
  662. type: int default: 4194304
  663. --redirect_code_traces (output deopt information and disassembly into file code-<pid>-<isolate id>.asm)
  664. type: bool default: false
  665. --redirect_code_traces_to (output deopt information and disassembly into the given file)
  666. type: string default: NULL
  667. --hydrogen_track_positions (track source code positions when building IR)
  668. type: bool default: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement