I know that Chrome V8 Engine has some option that can be set like "command-line" flags using v8::V8::SetFlagsFromString()
. But where can I find description of the each flag? I did not succeed with googling for this info so far. Does anyone know the place in documentation or some other resource that describes V8 flags?
Asked
Active
Viewed 1,663 times
0
-
Isn't V8 open-source? Have you tried reading the source? – Some programmer dude Oct 29 '15 at 08:29
-
Yes, V8 is open source, and I even can find the place where these flags are parsed, but even if I find that, how can I undestand the exact meaning and possible values of the each flag? I beleive there should be some official documentation from Google on that. – ivan.ukr Oct 29 '15 at 08:31
-
Found something in the flag-definitions.h: https://code.google.com/p/v8/source/browse/branches/3.18/src/flag-definitions.h – ivan.ukr Oct 29 '15 at 08:46
1 Answers
2
You will get the actual list for your V8 version in a source file flag-definitions.h
As I remember, there is a --help
flag in V8, that prints allowed flags and terminates. You can run node --v8-options
to see the options for V8 version used in the Nodejs.
There is also https://github.com/thlorenz/v8-flags/blob/master/flags-0.11.md

pmed
- 1,536
- 8
- 13