Guest User

Untitled

a guest
Mar 20th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.30 KB | None | 0 0
  1. SSE3=1 SSSE3=1 SSE4_1=1 SAHF=1 AVX=1 FMA3=1 BMI1=1 BMI2=1 LZCNT=1 POPCNT=1 ATOM=0
  2. Synopsis:
  3. shell [options] [--shell] [<file>...]
  4. d8 [options] [-e <string>] [--shell] [[--module] <file>...]
  5.  
  6. -e execute a string in V8
  7. --shell run an interactive JavaScript shell
  8. --module execute a file as a JavaScript module
  9.  
  10. Options:
  11. --experimental-extras (enable code compiled in via v8_experimental_extra_library_files)
  12. type: bool default: false
  13. --use-strict (enforce strict mode)
  14. type: bool default: false
  15. --es-staging (enable test-worthy harmony features (for internal use only))
  16. type: bool default: false
  17. --harmony (enable all completed harmony features)
  18. type: bool default: false
  19. --harmony-shipping (enable all shipped harmony features)
  20. type: bool default: true
  21. --harmony-do-expressions (enable "harmony do-expressions" (in progress))
  22. type: bool default: false
  23. --harmony-class-fields (enable "harmony fields in class literals" (in progress))
  24. type: bool default: false
  25. --harmony-static-fields (enable "harmony static fields in class literals" (in progress))
  26. type: bool default: false
  27. --harmony-array-flatten (enable "harmony Array.prototype.flat{ten,Map}" (in progress))
  28. type: bool default: false
  29. --harmony-locale (enable "Intl.Locale" (in progress))
  30. type: bool default: false
  31. --harmony-public-fields (enable "harmony public fields in class literals")
  32. type: bool default: false
  33. --harmony-private-fields (enable "harmony private fields in class literals")
  34. type: bool default: false
  35. --harmony-numeric-separator (enable "harmony numeric separator between digits")
  36. type: bool default: false
  37. --harmony-string-matchall (enable "harmony String.prototype.matchAll")
  38. type: bool default: false
  39. --harmony-string-trimming (enable "harmony String.prototype.trim{Start,End}")
  40. type: bool default: true
  41. --harmony-sharedarraybuffer (enable "harmony sharedarraybuffer")
  42. type: bool default: true
  43. --harmony-regexp-named-captures (enable "harmony regexp named captures")
  44. type: bool default: true
  45. --harmony-regexp-property (enable "harmony Unicode regexp property classes")
  46. type: bool default: true
  47. --harmony-function-tostring (enable "harmony Function.prototype.toString")
  48. type: bool default: true
  49. --harmony-promise-finally (enable "harmony Promise.prototype.finally")
  50. type: bool default: true
  51. --harmony-optional-catch-binding (enable "allow omitting binding in catch blocks")
  52. type: bool default: true
  53. --harmony-import-meta (enable "harmony import.meta property")
  54. type: bool default: true
  55. --harmony-bigint (enable "harmony arbitrary precision integers")
  56. type: bool default: true
  57. --harmony-dynamic-import (enable "harmony dynamic import")
  58. type: bool default: true
  59. --harmony-array-prototype-values (enable "harmony Array.prototype.values")
  60. type: bool default: true
  61. --icu-timezone-data (get information about timezones from ICU)
  62. type: bool default: true
  63. --future (Implies all staged features that we want to ship in the not-too-far future)
  64. type: bool default: false
  65. --allocation-site-pretenuring (pretenure with allocation sites)
  66. type: bool default: true
  67. --page-promotion (promote pages based on utilization)
  68. type: bool default: true
  69. --page-promotion-threshold (min percentage of live bytes on a page to enable fast evacuation)
  70. type: int default: 70
  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. --trace-block-coverage (trace collected block coverage information)
  86. type: bool default: false
  87. --feedback-normalization (feed back normalization to constructors)
  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. --interrupt-budget (interrupt budget which should be used for the profiler counter)
  94. type: int default: 147456
  95. --ignition-elide-noneffectful-bytecodes (elide bytecodes which won't have any external effect)
  96. type: bool default: true
  97. --ignition-reo (use ignition register equivalence optimizer)
  98. type: bool default: true
  99. --ignition-filter-expression-positions (filter expression positions before the bytecode pipeline)
  100. type: bool default: true
  101. --ignition-share-named-property-feedback (share feedback slots when loading the same named property from the same object)
  102. type: bool default: false
  103. --print-bytecode (print bytecode generated by ignition interpreter)
  104. type: bool default: false
  105. --print-bytecode-filter (filter for selecting which functions to print bytecode)
  106. type: string default: *
  107. --trace-ignition-codegen (trace the codegen of ignition interpreter bytecode handlers)
  108. type: bool default: false
  109. --trace-ignition-dispatches (traces the dispatches to bytecode handlers by the ignition interpreter)
  110. type: bool default: false
  111. --trace-ignition-dispatches-output-file (the file to which the bytecode handler dispatch table is written (by default, the table is not written to a file))
  112. type: string default: nullptr
  113. --fast-math (faster (but maybe less accurate) math functions)
  114. type: bool default: true
  115. --trace-track-allocation-sites (trace the tracking of allocation sites)
  116. type: bool default: false
  117. --trace-migration (trace object migration)
  118. type: bool default: false
  119. --trace-generalization (trace map generalization)
  120. type: bool default: false
  121. --concurrent-recompilation (optimizing hot functions asynchronously on a separate thread)
  122. type: bool default: true
  123. --trace-concurrent-recompilation (track concurrent recompilation)
  124. type: bool default: false
  125. --concurrent-recompilation-queue-length (the length of the concurrent compilation queue)
  126. type: int default: 8
  127. --concurrent-recompilation-delay (artificial compilation delay in ms)
  128. type: int default: 0
  129. --block-concurrent-recompilation (block queued jobs until released)
  130. type: bool default: false
  131. --stress-runs (number of stress runs)
  132. type: int default: 0
  133. --deopt-every-n-times (deoptimize every n times a deopt point is passed)
  134. type: int default: 0
  135. --print-deopt-stress (print number of possible deopt points)
  136. type: bool default: false
  137. --turbo-sp-frame-access (use stack pointer-relative access to frame wherever possible)
  138. type: bool default: false
  139. --turbo-preprocess-ranges (run pre-register allocation heuristics)
  140. type: bool default: true
  141. --turbo-filter (optimization filter for TurboFan compiler)
  142. type: string default: *
  143. --trace-turbo (trace generated TurboFan IR)
  144. type: bool default: false
  145. --trace-turbo-path (directory to dump generated TurboFan IR to)
  146. type: string default: nullptr
  147. --trace-turbo-filter (filter for tracing turbofan compilation)
  148. type: string default: *
  149. --trace-turbo-graph (trace generated TurboFan graphs)
  150. type: bool default: false
  151. --trace-turbo-scheduled (trace TurboFan IR with schedule)
  152. type: bool default: false
  153. --trace-turbo-cfg-file (trace turbo cfg graph (for C1 visualizer) to a given file name)
  154. type: string default: nullptr
  155. --trace-turbo-types (trace TurboFan's types)
  156. type: bool default: true
  157. --trace-turbo-scheduler (trace TurboFan's scheduler)
  158. type: bool default: false
  159. --trace-turbo-reduction (trace TurboFan's various reducers)
  160. type: bool default: false
  161. --trace-turbo-trimming (trace TurboFan's graph trimmer)
  162. type: bool default: false
  163. --trace-turbo-jt (trace TurboFan's jump threading)
  164. type: bool default: false
  165. --trace-turbo-ceq (trace TurboFan's control equivalence)
  166. type: bool default: false
  167. --trace-turbo-loop (trace TurboFan's loop optimizations)
  168. type: bool default: false
  169. --trace-alloc (trace register allocator)
  170. type: bool default: false
  171. --trace-all-uses (trace all use positions)
  172. type: bool default: false
  173. --trace-representation (trace representation types)
  174. type: bool default: false
  175. --turbo-verify (verify TurboFan graphs at each phase)
  176. type: bool default: false
  177. --turbo-verify-machine-graph (verify TurboFan machine graph before instruction selection)
  178. type: string default: nullptr
  179. --trace-verify-csa (trace code stubs verification)
  180. type: bool default: false
  181. --csa-trap-on-node (trigger break point when a node with given id is created in given stub. The format is: StubName,NodeId)
  182. type: string default: nullptr
  183. --turbo-stats (print TurboFan statistics)
  184. type: bool default: false
  185. --turbo-stats-nvp (print TurboFan statistics in machine-readable format)
  186. type: bool default: false
  187. --turbo-splitting (split nodes during scheduling in TurboFan)
  188. type: bool default: true
  189. --function-context-specialization (enable function context specialization in TurboFan)
  190. type: bool default: false
  191. --turbo-inlining (enable inlining in TurboFan)
  192. type: bool default: true
  193. --max-inlined-bytecode-size (maximum size of bytecode for a single inlining)
  194. type: int default: 500
  195. --max-inlined-bytecode-size-cumulative (maximum cumulative size of bytecode considered for inlining)
  196. type: int default: 1000
  197. --max-inlined-bytecode-size-absolute (maximum cumulative size of bytecode considered for inlining)
  198. type: int default: 5000
  199. --reserve-inline-budget-scale-factor (maximum cumulative size of bytecode considered for inlining)
  200. type: float default: 1.2
  201. --max-inlined-bytecode-size-small (maximum size of bytecode considered for small function inlining)
  202. type: int default: 30
  203. --min-inlining-frequency (minimum frequency for inlining)
  204. type: float default: 0.15
  205. --polymorphic-inlining (polymorphic inlining)
  206. type: bool default: true
  207. --stress-inline (set high thresholds for inlining to inline as much as possible)
  208. type: bool default: false
  209. --trace-turbo-inlining (trace TurboFan inlining)
  210. type: bool default: false
  211. --inline-accessors (inline JavaScript accessors)
  212. type: bool default: true
  213. --inline-into-try (inline into try blocks)
  214. type: bool default: true
  215. --turbo-inline-array-builtins (inline array builtins in TurboFan code)
  216. type: bool default: true
  217. --use-osr (use on-stack replacement)
  218. type: bool default: true
  219. --trace-osr (trace on-stack replacement)
  220. type: bool default: false
  221. --analyze-environment-liveness (analyze liveness of environment slots and zap dead values)
  222. type: bool default: true
  223. --trace-environment-liveness (trace liveness of local variable slots)
  224. type: bool default: false
  225. --turbo-load-elimination (enable load elimination in TurboFan)
  226. type: bool default: true
  227. --trace-turbo-load-elimination (trace TurboFan load elimination)
  228. type: bool default: false
  229. --turbo-profiling (enable profiling in TurboFan)
  230. type: bool default: false
  231. --turbo-verify-allocation (verify register allocation in TurboFan)
  232. type: bool default: false
  233. --turbo-move-optimization (optimize gap moves in TurboFan)
  234. type: bool default: true
  235. --turbo-jt (enable jump threading in TurboFan)
  236. type: bool default: true
  237. --turbo-loop-peeling (Turbofan loop peeling)
  238. type: bool default: true
  239. --turbo-loop-variable (Turbofan loop variable optimization)
  240. type: bool default: true
  241. --turbo-cf-optimization (optimize control flow in TurboFan)
  242. type: bool default: true
  243. --turbo-escape (enable escape analysis)
  244. type: bool default: true
  245. --turbo-allocation-folding (Turbofan allocation folding)
  246. type: bool default: true
  247. --turbo-instruction-scheduling (enable instruction scheduling in TurboFan)
  248. type: bool default: false
  249. --turbo-stress-instruction-scheduling (randomly schedule instructions to stress dependency tracking)
  250. type: bool default: false
  251. --turbo-store-elimination (enable store-store elimination in TurboFan)
  252. type: bool default: true
  253. --trace-store-elimination (trace store elimination)
  254. type: bool default: false
  255. --turbo-rewrite-far-jumps (rewrite far to near jumps (ia32,x64))
  256. type: bool default: true
  257. --experimental-inline-promise-constructor (inline the Promise constructor in TurboFan)
  258. type: bool default: true
  259. --untrusted-code-mitigations (Enable mitigations for executing untrusted code)
  260. type: bool default: false
  261. --branch-load-poisoning (Mask loads with branch conditions.)
  262. type: bool default: false
  263. --minimal (simplifies execution model to make porting easier (e.g. always use Ignition, never optimize))
  264. type: bool default: false
  265. --expose-wasm (expose wasm interface to JavaScript)
  266. type: bool default: true
  267. --assume-asmjs-origin (force wasm decoder to assume input is internal asm-wasm format)
  268. type: bool default: false
  269. --wasm-disable-structured-cloning (disable wasm structured cloning)
  270. type: bool default: false
  271. --wasm-num-compilation-tasks (number of parallel compilation tasks for wasm)
  272. type: int default: 10
  273. --wasm-write-protect-code-memory (write protect code memory on the wasm native heap)
  274. type: bool default: false
  275. --wasm-trace-serialization (trace serialization/deserialization)
  276. type: bool default: false
  277. --wasm-async-compilation (enable actual asynchronous compilation for WebAssembly.compile)
  278. type: bool default: true
  279. --wasm-test-streaming (use streaming compilation instead of async compilation for tests)
  280. type: bool default: false
  281. --wasm-max-mem-pages (maximum memory size of a wasm instance)
  282. type: uint default: 32767
  283. --wasm-max-table-size (maximum table size of a wasm instance)
  284. type: uint default: 10000000
  285. --wasm-tier-up (enable basic tiering up to the optimizing compiler)
  286. type: bool default: false
  287. --trace-wasm-ast-start (start function for wasm AST trace (inclusive))
  288. type: int default: 0
  289. --trace-wasm-ast-end (end function for wasm AST trace (exclusive))
  290. type: int default: 0
  291. --liftoff (enable liftoff, the experimental wasm baseline compiler)
  292. type: bool default: false
  293. --skip-compiling-wasm-funcs (start compiling at function N)
  294. type: uint default: 0
  295. --wasm-trace-memory (print all memory updates performed in wasm code)
  296. type: bool default: false
  297. --validate-asm (validate asm.js modules before compiling)
  298. type: bool default: true
  299. --suppress-asm-messages (don't emit asm.js related messages (for golden file testing))
  300. type: bool default: false
  301. --trace-asm-time (log asm.js timing info to the console)
  302. type: bool default: false
  303. --trace-asm-scanner (log tokens encountered by asm.js scanner)
  304. type: bool default: false
  305. --trace-asm-parser (verbose logging of asm.js parse failures)
  306. type: bool default: false
  307. --stress-validate-asm (try to validate everything as asm.js)
  308. type: bool default: false
  309. --dump-wasm-module-path (directory to dump wasm modules to)
  310. type: string default: nullptr
  311. --experimental-wasm-simd (enable prototype simd opcodes for wasm)
  312. type: bool default: false
  313. --experimental-wasm-eh (enable prototype exception handling opcodes for wasm)
  314. type: bool default: false
  315. --experimental-wasm-mv (enable prototype multi-value support for wasm)
  316. type: bool default: false
  317. --experimental-wasm-threads (enable prototype threads for wasm)
  318. type: bool default: false
  319. --experimental-wasm-sat-f2i-conversions (enable non-trapping float-to-int conversions for wasm)
  320. type: bool default: false
  321. --experimental-wasm-se (enable prototype sign extension opcodes for wasm)
  322. type: bool default: false
  323. --experimental-wasm-anyref (enable prototype anyref support for wasm)
  324. type: bool default: false
  325. --experimental-wasm-mut-global (enable prototype import/export mutable global support for wasm)
  326. type: bool default: false
  327. --wasm-opt (enable wasm optimization)
  328. type: bool default: false
  329. --wasm-no-bounds-checks (disable bounds checks (performance testing only))
  330. type: bool default: false
  331. --wasm-no-stack-checks (disable stack checks (performance testing only))
  332. type: bool default: false
  333. --wasm-trap-handler (use signal handlers to catch out of bounds memory access in wasm (currently Linux x86_64 only))
  334. type: bool default: true
  335. --wasm-fuzzer-gen-test (Generate a test case when running a wasm fuzzer)
  336. type: bool default: false
  337. --print-wasm-code (Print WebAssembly code)
  338. type: bool default: false
  339. --wasm-interpret-all (Execute all wasm code in the wasm interpreter)
  340. type: bool default: false
  341. --asm-wasm-lazy-compilation (enable lazy compilation for asm-wasm modules)
  342. type: bool default: false
  343. --wasm-lazy-compilation (enable lazy compilation for all wasm modules)
  344. type: bool default: false
  345. --frame-count (number of stack frames inspected by the profiler)
  346. type: int default: 1
  347. --type-info-threshold (percentage of ICs that must have type info to allow optimization)
  348. type: int default: 25
  349. --stress-sampling-allocation-profiler (Enables sampling allocation profiler with X as a sample interval)
  350. type: int default: 0
  351. --min-semi-space-size (min size of a semi-space (in MBytes), the new space consists of two semi-spaces)
  352. type: size_t default: 0
  353. --max-semi-space-size (max size of a semi-space (in MBytes), the new space consists of two semi-spaces)
  354. type: size_t default: 0
  355. --semi-space-growth-factor (factor by which to grow the new space)
  356. type: int default: 2
  357. --experimental-new-space-growth-heuristic (Grow the new space based on the percentage of survivors instead of their absolute value.)
  358. type: bool default: false
  359. --max-old-space-size (max size of the old space (in Mbytes))
  360. type: size_t default: 0
  361. --initial-old-space-size (initial old space size (in Mbytes))
  362. type: size_t default: 0
  363. --gc-global (always perform global GCs)
  364. type: bool default: false
  365. --random-gc-interval (Collect garbage after random(0, X) allocations. It overrides gc_interval.)
  366. type: int default: 0
  367. --gc-interval (garbage collect after <n> allocations)
  368. type: int default: -1
  369. --retain-maps-for-n-gc (keeps maps alive for <n> old space garbage collections)
  370. type: int default: 2
  371. --trace-gc (print one trace line following each garbage collection)
  372. type: bool default: false
  373. --trace-gc-nvp (print one detailed trace line in name=value format after each garbage collection)
  374. type: bool default: false
  375. --trace-gc-ignore-scavenger (do not print trace line after scavenger collection)
  376. type: bool default: false
  377. --trace-idle-notification (print one trace line following each idle notification)
  378. type: bool default: false
  379. --trace-idle-notification-verbose (prints the heap state used by the idle notification)
  380. type: bool default: false
  381. --trace-gc-verbose (print more details following each garbage collection)
  382. type: bool default: false
  383. --trace-allocation-stack-interval (print stack trace after <n> free-list allocations)
  384. type: int default: -1
  385. --trace-duplicate-threshold-kb (print duplicate objects in the heap if their size is more than given threshold)
  386. type: int default: 0
  387. --trace-fragmentation (report fragmentation for old space)
  388. type: bool default: false
  389. --trace-fragmentation-verbose (report fragmentation for old space (detailed))
  390. type: bool default: false
  391. --trace-evacuation (report evacuation statistics)
  392. type: bool default: false
  393. --trace-mutator-utilization (print mutator utilization, allocation speed, gc speed)
  394. type: bool default: false
  395. --incremental-marking (use incremental marking)
  396. type: bool default: true
  397. --incremental-marking-wrappers (use incremental marking for marking wrappers)
  398. type: bool default: true
  399. --trace-unmapper (Trace the unmapping)
  400. type: bool default: false
  401. --parallel-scavenge (parallel scavenge)
  402. type: bool default: true
  403. --trace-parallel-scavenge (trace parallel scavenge)
  404. type: bool default: false
  405. --write-protect-code-memory (write protect code memory)
  406. type: bool default: true
  407. --concurrent-marking (use concurrent marking)
  408. type: bool default: true
  409. --parallel-marking (use parallel marking in atomic pause)
  410. type: bool default: true
  411. --trace-concurrent-marking (trace concurrent marking)
  412. type: bool default: false
  413. --black-allocation (use black allocation)
  414. type: bool default: true
  415. --concurrent-store-buffer (use concurrent store buffer processing)
  416. type: bool default: true
  417. --concurrent-sweeping (use concurrent sweeping)
  418. type: bool default: true
  419. --parallel-compaction (use parallel compaction)
  420. type: bool default: true
  421. --parallel-pointer-update (use parallel pointer update during compaction)
  422. type: bool default: true
  423. --detect-ineffective-gcs-near-heap-limit (trigger out-of-memory failure to avoid GC storm near heap limit)
  424. type: bool default: true
  425. --trace-incremental-marking (trace progress of the incremental marking)
  426. type: bool default: false
  427. --trace-stress-marking (trace stress marking progress)
  428. type: bool default: false
  429. --trace-stress-scavenge (trace stress scavenge progress)
  430. type: bool default: false
  431. --track-gc-object-stats (track object counts and memory usage)
  432. type: bool default: false
  433. --trace-gc-object-stats (trace object counts and memory usage)
  434. type: bool default: false
  435. --trace-zone-stats (trace zone memory usage)
  436. type: bool default: false
  437. --track-retaining-path (enable support for tracking retaining path)
  438. type: bool default: false
  439. --concurrent-array-buffer-freeing (free array buffer allocations on a background thread)
  440. type: bool default: true
  441. --gc-stats (Used by tracing internally to enable gc statistics)
  442. type: int default: 0
  443. --track-detached-contexts (track native contexts that are expected to be garbage collected)
  444. type: bool default: true
  445. --trace-detached-contexts (trace native contexts that are expected to be garbage collected)
  446. type: bool default: false
  447. --move-object-start (enable moving of object starts)
  448. type: bool default: true
  449. --memory-reducer (use memory reducer)
  450. type: bool default: true
  451. --heap-growing-percent (specifies heap growing factor as (1 + heap_growing_percent/100))
  452. type: int default: 0
  453. --v8-os-page-size (override OS page size (in KBytes))
  454. type: int default: 0
  455. --always-compact (Perform compaction on every full GC)
  456. type: bool default: false
  457. --never-compact (Never perform compaction on full GC - testing only)
  458. type: bool default: false
  459. --compact-code-space (Compact code space on full collections)
  460. type: bool default: true
  461. --use-marking-progress-bar (Use a progress bar to scan large objects in increments when incremental marking is active.)
  462. type: bool default: true
  463. --force-marking-deque-overflows (force overflows of marking deque by reducing it's size to 64 words)
  464. type: bool default: false
  465. --stress-compaction (stress the GC compactor to flush out bugs (implies --force_marking_deque_overflows))
  466. type: bool default: false
  467. --stress-compaction-random (Stress GC compaction by selecting random percent of pages as evacuation candidates. It overrides stress_compaction.)
  468. type: bool default: false
  469. --stress-incremental-marking (force incremental marking for small heaps and run it more often)
  470. type: bool default: false
  471. --fuzzer-gc-analysis (prints number of allocations and enables analysis mode for gc fuzz testing, e.g. --stress-marking, --stress-scavenge)
  472. type: bool default: false
  473. --stress-marking (force marking at random points between 0 and X (inclusive) percent of the regular marking start limit)
  474. type: int default: 0
  475. --stress-scavenge (force scavenge at random points between 0 and X (inclusive) percent of the new space capacity)
  476. type: int default: 0
  477. --disable-abortjs (disables AbortJS runtime function)
  478. type: bool default: false
  479. --manual-evacuation-candidates-selection (Test mode only flag. It allows an unit test to select evacuation candidates pages (requires --stress_compaction).)
  480. type: bool default: false
  481. --fast-promotion-new-space (fast promote new space on high survival rates)
  482. type: bool default: false
  483. --debug-code (generate extra code (assertions) for debugging)
  484. type: bool default: false
  485. --code-comments (emit comments in code disassembly; for more readable source positions you should add --no-concurrent_recompilation)
  486. type: bool default: false
  487. --enable-sse3 (enable use of SSE3 instructions if available)
  488. type: bool default: true
  489. --enable-ssse3 (enable use of SSSE3 instructions if available)
  490. type: bool default: true
  491. --enable-sse4-1 (enable use of SSE4.1 instructions if available)
  492. type: bool default: true
  493. --enable-sahf (enable use of SAHF instruction if available (X64 only))
  494. type: bool default: true
  495. --enable-avx (enable use of AVX instructions if available)
  496. type: bool default: true
  497. --enable-fma3 (enable use of FMA3 instructions if available)
  498. type: bool default: true
  499. --enable-bmi1 (enable use of BMI1 instructions if available)
  500. type: bool default: true
  501. --enable-bmi2 (enable use of BMI2 instructions if available)
  502. type: bool default: true
  503. --enable-lzcnt (enable use of LZCNT instruction if available)
  504. type: bool default: true
  505. --enable-popcnt (enable use of POPCNT instruction if available)
  506. type: bool default: true
  507. --arm-arch (generate instructions for the selected ARM architecture if available: armv6, armv7, armv7+sudiv or armv8)
  508. type: string default: armv8
  509. --enable-vldr-imm (enable use of constant pools for double immediate (ARM only))
  510. type: bool default: false
  511. --force-long-branches (force all emitted branches to be in long mode (MIPS/PPC only))
  512. type: bool default: false
  513. --mcpu (enable optimization for specific cpu)
  514. type: string default: auto
  515. --enable-armv7 (deprecated (use --arm_arch instead))
  516. type: maybe_bool default: unset
  517. --enable-vfp3 (deprecated (use --arm_arch instead))
  518. type: maybe_bool default: unset
  519. --enable-32dregs (deprecated (use --arm_arch instead))
  520. type: maybe_bool default: unset
  521. --enable-neon (deprecated (use --arm_arch instead))
  522. type: maybe_bool default: unset
  523. --enable-sudiv (deprecated (use --arm_arch instead))
  524. type: maybe_bool default: unset
  525. --enable-armv8 (deprecated (use --arm_arch instead))
  526. type: maybe_bool default: unset
  527. --enable-regexp-unaligned-accesses (enable unaligned accesses for the regexp engine)
  528. type: bool default: true
  529. --script-streaming (enable parsing on background)
  530. type: bool default: true
  531. --disable-old-api-accessors (Disable old-style API accessors whose setters trigger through the prototype chain)
  532. type: bool default: false
  533. --expose-natives-as (expose natives in global object)
  534. type: string default: nullptr
  535. --expose-free-buffer (expose freeBuffer extension)
  536. type: bool default: false
  537. --expose-gc (expose gc extension)
  538. type: bool default: false
  539. --expose-gc-as (expose gc extension under the specified name)
  540. type: string default: nullptr
  541. --expose-externalize-string (expose externalize string extension)
  542. type: bool default: false
  543. --expose-trigger-failure (expose trigger-failure extension)
  544. type: bool default: false
  545. --stack-trace-limit (number of stack frames to capture)
  546. type: int default: 10
  547. --builtins-in-stack-traces (show built-in functions in stack traces)
  548. type: bool default: false
  549. --enable-experimental-builtins (enable new csa-based experimental builtins)
  550. type: bool default: false
  551. --disallow-code-generation-from-strings (disallow eval and friends)
  552. type: bool default: false
  553. --allow-unsafe-function-constructor (allow invoking the function constructor without security checks)
  554. type: bool default: false
  555. --force-slow-path (always take the slow path for builtins)
  556. type: bool default: false
  557. --inline-new (use fast inline allocation)
  558. type: bool default: true
  559. --trace (trace function calls)
  560. type: bool default: false
  561. --lazy (use lazy compilation)
  562. type: bool default: true
  563. --trace-opt (trace lazy optimization)
  564. type: bool default: false
  565. --trace-opt-verbose (extra verbose compilation tracing)
  566. type: bool default: false
  567. --trace-opt-stats (trace lazy optimization statistics)
  568. type: bool default: false
  569. --trace-deopt (trace optimize function deoptimization)
  570. type: bool default: false
  571. --trace-file-names (include file names in trace-opt/trace-deopt output)
  572. type: bool default: false
  573. --trace-interrupts (trace interrupts when they are handled)
  574. type: bool default: false
  575. --opt (use adaptive optimizations)
  576. type: bool default: true
  577. --always-opt (always try to optimize functions)
  578. type: bool default: false
  579. --always-osr (always try to OSR functions)
  580. type: bool default: false
  581. --prepare-always-opt (prepare for turning on always opt)
  582. type: bool default: false
  583. --trace-serializer (print code serializer trace)
  584. type: bool default: false
  585. --compilation-cache (enable compilation cache)
  586. type: bool default: true
  587. --cache-prototype-transitions (cache prototype transitions)
  588. type: bool default: true
  589. --compiler-dispatcher (enable compiler dispatcher)
  590. type: bool default: false
  591. --trace-compiler-dispatcher (trace compiler dispatcher activity)
  592. type: bool default: false
  593. --trace-compiler-dispatcher-jobs (trace progress of individual jobs managed by the compiler dispatcher)
  594. type: bool default: false
  595. --cpu-profiler-sampling-interval (CPU profiler sampling interval in microseconds)
  596. type: int default: 1000
  597. --trace-js-array-abuse (trace out-of-bounds accesses to JS arrays)
  598. type: bool default: false
  599. --trace-external-array-abuse (trace out-of-bounds-accesses to external arrays)
  600. type: bool default: false
  601. --trace-array-abuse (trace out-of-bounds accesses to all arrays)
  602. type: bool default: false
  603. --enable-liveedit (enable liveedit experimental feature)
  604. type: bool default: true
  605. --trace-side-effect-free-debug-evaluate (print debug messages for side-effect-free debug-evaluate for testing)
  606. type: bool default: false
  607. --hard-abort (abort by crashing)
  608. type: bool default: true
  609. --expose-inspector-scripts (expose injected-script-source.js for debugging)
  610. type: bool default: false
  611. --stack-size (default size of stack region v8 is allowed to use (in kBytes))
  612. type: int default: 984
  613. --max-stack-trace-source-length (maximum length of function source code printed in a stack trace.)
  614. type: int default: 300
  615. --clear-exceptions-on-js-entry (clear pending exceptions when entering JavaScript)
  616. type: bool default: false
  617. --histogram-interval (time interval in ms for aggregating memory histograms)
  618. type: int default: 600000
  619. --heap-profiler-trace-objects (Dump heap object allocations/movements/size_updates)
  620. type: bool default: false
  621. --heap-profiler-use-embedder-graph (Use the new EmbedderGraph API to get embedder nodes)
  622. type: bool default: true
  623. --heap-snapshot-string-limit (truncate strings to this length in the heap snapshot)
  624. type: int default: 1024
  625. --sampling-heap-profiler-suppress-randomness (Use constant sample intervals to eliminate test flakiness)
  626. type: bool default: false
  627. --use-idle-notification (Use idle notification to reduce memory footprint.)
  628. type: bool default: true
  629. --use-ic (use inline caching)
  630. type: bool default: true
  631. --trace-ic (trace inline cache state transitions for tools/ic-processor)
  632. type: bool default: false
  633. --ic-stats (inline cache state transitions statistics)
  634. type: int default: 0
  635. --native-code-counters (generate extra code for manipulating stats counters)
  636. type: bool default: false
  637. --thin-strings (Enable ThinString support)
  638. type: bool default: true
  639. --trace-prototype-users (Trace updates to prototype user tracking)
  640. type: bool default: false
  641. --use-verbose-printer (allows verbose printing)
  642. type: bool default: true
  643. --trace-for-in-enumerate (Trace for-in enumerate slow-paths)
  644. type: bool default: false
  645. --trace-maps (trace map creation)
  646. type: bool default: false
  647. --trace-maps-details (also log map details)
  648. type: bool default: true
  649. --allow-natives-syntax (allow natives syntax)
  650. type: bool default: false
  651. --lazy-inner-functions (enable lazy parsing inner functions)
  652. type: bool default: true
  653. --aggressive-lazy-inner-functions (even lazier inner function parsing)
  654. type: bool default: false
  655. --preparser-scope-analysis (perform scope analysis for preparsed inner functions)
  656. type: bool default: true
  657. --trace-sim (Trace simulator execution)
  658. type: bool default: false
  659. --debug-sim (Enable debugging the simulator)
  660. type: bool default: false
  661. --check-icache (Check icache flushes in ARM and MIPS simulator)
  662. type: bool default: false
  663. --stop-sim-at (Simulator stop after x number of instructions)
  664. type: int default: 0
  665. --sim-stack-alignment (Stack alingment in bytes in simulator (4 or 8, 8 is default))
  666. type: int default: 8
  667. --sim-stack-size (Stack size of the ARM64, MIPS64 and PPC64 simulator in kBytes (default is 2 MB))
  668. type: int default: 2048
  669. --log-colour (When logging, try to use coloured output.)
  670. type: bool default: false
  671. --ignore-asm-unimplemented-break (Don't break for ASM_UNIMPLEMENTED_BREAK macros.)
  672. type: bool default: false
  673. --trace-sim-messages (Trace simulator debug messages. Implied by --trace-sim.)
  674. type: bool default: false
  675. --stack-trace-on-illegal (print stack trace when an illegal exception is thrown)
  676. type: bool default: false
  677. --abort-on-uncaught-exception (abort program (dump core) when an uncaught exception is thrown)
  678. type: bool default: false
  679. --abort-on-stack-or-string-length-overflow (Abort program when the stack overflows or a string exceeds maximum length (as opposed to throwing RangeError). This is useful for fuzzing where the spec behaviour would introduce nondeterminism.)
  680. type: bool default: false
  681. --randomize-hashes (randomize hashes to avoid predictable hash collisions (with snapshots this option cannot override the baked-in seed))
  682. type: bool default: true
  683. --rehash-snapshot (rehash strings from the snapshot to override the baked-in seed)
  684. type: bool default: true
  685. --hash-seed (Fixed seed to use to hash property keys (0 means random)(with snapshots this option cannot override the baked-in seed))
  686. type: uint64 default: 0
  687. --random-seed (Default seed for initializing random generator (0, the default, means to use system random).)
  688. type: int default: 0
  689. --fuzzer-random-seed (Default seed for initializing fuzzer random generator (0, the default, means to use v8's random number generator seed).)
  690. type: int default: 0
  691. --trace-rail (trace RAIL mode)
  692. type: bool default: false
  693. --print-all-exceptions (print exception object and stack trace on each thrown exception)
  694. type: bool default: false
  695. --runtime-call-stats (report runtime call counts and times)
  696. type: bool default: false
  697. --runtime-stats (internal usage only for controlling runtime statistics)
  698. type: int default: 0
  699. --lazy-deserialization (Deserialize code lazily from the snapshot.)
  700. type: bool default: true
  701. --lazy-handler-deserialization (Deserialize bytecode handlers lazily from the snapshot.)
  702. type: bool default: true
  703. --trace-lazy-deserialization (Trace lazy deserialization.)
  704. type: bool default: false
  705. --profile-deserialization (Print the time it takes to deserialize the snapshot.)
  706. type: bool default: false
  707. --serialization-statistics (Collect statistics on serialized objects.)
  708. type: bool default: false
  709. --regexp-optimization (generate optimized regexp code)
  710. type: bool default: true
  711. --regexp-mode-modifiers (enable inline flags in regexp.)
  712. type: bool default: false
  713. --testing-bool-flag (testing_bool_flag)
  714. type: bool default: true
  715. --testing-maybe-bool-flag (testing_maybe_bool_flag)
  716. type: maybe_bool default: unset
  717. --testing-int-flag (testing_int_flag)
  718. type: int default: 13
  719. --testing-float-flag (float-flag)
  720. type: float default: 2.5
  721. --testing-string-flag (string-flag)
  722. type: string default: Hello, world!
  723. --testing-prng-seed (Seed used for threading test randomness)
  724. type: int default: 42
  725. --embedded-src (Path for the generated embedded data file. (mksnapshot only))
  726. type: string default: nullptr
  727. --embedded-variant (Label to disambiguate symbols in embedded data file. (mksnapshot only))
  728. type: string default: nullptr
  729. --startup-src (Write V8 startup as C++ src. (mksnapshot only))
  730. type: string default: nullptr
  731. --startup-blob (Write V8 startup blob file. (mksnapshot only))
  732. type: string default: nullptr
  733. --help (Print usage message, including flags, on console)
  734. type: bool default: true
  735. --dump-counters (Dump counters on exit)
  736. type: bool default: false
  737. --dump-counters-nvp (Dump counters as name-value pairs on exit)
  738. type: bool default: false
  739. --use-external-strings (Use external strings for source code)
  740. type: bool default: false
  741. --map-counters (Map counters to a file)
  742. type: string default:
  743. --js-arguments (Pass all remaining arguments to the script. Alias for "--".)
  744. type: arguments default:
  745. --log (Minimal logging (no API, code, GC, suspect, or handles samples).)
  746. type: bool default: false
  747. --log-all (Log all events to the log file.)
  748. type: bool default: false
  749. --log-api (Log API events to the log file.)
  750. type: bool default: false
  751. --log-code (Log code events to the log file without profiling.)
  752. type: bool default: false
  753. --log-handles (Log global handle events.)
  754. type: bool default: false
  755. --log-suspect (Log suspect operations.)
  756. type: bool default: false
  757. --log-source-code (Log source code.)
  758. type: bool default: false
  759. --log-function-events (Log function events (parse, compile, execute) separately.)
  760. type: bool default: false
  761. --prof (Log statistical profiling information (implies --log-code).)
  762. type: bool default: false
  763. --detailed-line-info (Always generate detailed line information for CPU profiling.)
  764. type: bool default: true
  765. --prof-sampling-interval (Interval for --prof samples (in microseconds).)
  766. type: int default: 1000
  767. --prof-cpp (Like --prof, but ignore generated code.)
  768. type: bool default: false
  769. --prof-browser-mode (Used with --prof, turns on browser-compatible mode for profiling.)
  770. type: bool default: true
  771. --logfile (Specify the name of the log file.)
  772. type: string default: v8.log
  773. --logfile-per-isolate (Separate log files for each isolate.)
  774. type: bool default: true
  775. --ll-prof (Enable low-level linux profiler.)
  776. type: bool default: false
  777. --interpreted-frames-native-stack (Show interpreted frames on the native stack (useful for external profilers).)
  778. type: bool default: false
  779. --perf-basic-prof (Enable perf linux profiler (basic support).)
  780. type: bool default: false
  781. --perf-basic-prof-only-functions (Only report function code ranges to perf (i.e. no stubs).)
  782. type: bool default: false
  783. --perf-prof (Enable perf linux profiler (experimental annotate support).)
  784. type: bool default: false
  785. --perf-prof-unwinding-info (Enable unwinding info for perf linux profiler (experimental).)
  786. type: bool default: false
  787. --gc-fake-mmap (Specify the name of the file for fake gc mmap used in ll_prof)
  788. type: string default: /tmp/__v8_gc__
  789. --log-internal-timer-events (Time internal events.)
  790. type: bool default: false
  791. --log-timer-events (Time events including external callbacks.)
  792. type: bool default: false
  793. --log-instruction-stats (Log AArch64 instruction statistics.)
  794. type: bool default: false
  795. --log-instruction-file (AArch64 instruction statistics log file.)
  796. type: string default: arm64_inst.csv
  797. --log-instruction-period (AArch64 instruction statistics logging period.)
  798. type: int default: 4194304
  799. --redirect-code-traces (output deopt information and disassembly into file code-<pid>-<isolate id>.asm)
  800. type: bool default: false
  801. --redirect-code-traces-to (output deopt information and disassembly into the given file)
  802. type: string default: nullptr
  803. --print-opt-source (print source code of optimized and inlined functions)
  804. type: bool default: false
  805. --trace-elements-transitions (trace elements transitions)
  806. type: bool default: false
  807. --trace-creation-allocation-sites (trace the creation of allocation sites)
  808. type: bool default: false
  809. --print-code-stubs (print code stubs)
  810. type: bool default: false
  811. --test-secondary-stub-cache (test secondary stub cache by disabling the primary one)
  812. type: bool default: false
  813. --test-primary-stub-cache (test primary stub cache by disabling the secondary one)
  814. type: bool default: false
  815. --test-small-max-function-context-stub-size (enable testing the function context size overflow path by making the maximum size smaller)
  816. type: bool default: false
  817. --print-code (print generated code)
  818. type: bool default: false
  819. --print-opt-code (print optimized code)
  820. type: bool default: false
  821. --print-opt-code-filter (filter for printing optimized code)
  822. type: string default: *
  823. --print-code-verbose (print more information for code)
  824. type: bool default: false
  825. --print-builtin-code (print generated code for builtins)
  826. type: bool default: false
  827. --print-builtin-size (print code size for builtins)
  828. type: bool default: false
  829. --sodium (print generated code output suitable for use with the Sodium code viewer)
  830. type: bool default: false
  831. --print-all-code (enable all flags related to printing code)
  832. type: bool default: false
  833. --predictable (enable predictable mode)
  834. type: bool default: false
  835. --single-threaded (disable the use of background tasks)
  836. type: bool default: false
  837. --single-threaded-gc (disable the use of background gc tasks)
  838. type: bool default: false
Add Comment
Please, Sign In to add comment