@@ -604,19 +604,23 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
604
604
" Start the V8 heap profiler on start up, and write the heap profile "
605
605
" to disk before exit. If --heap-prof-dir is not specified, write "
606
606
" the profile to the current working directory." ,
607
- &EnvironmentOptions::heap_prof);
607
+ &EnvironmentOptions::heap_prof,
608
+ kAllowedInEnvvar );
608
609
AddOption (" --heap-prof-name" ,
609
610
" specified file name of the V8 heap profile generated with "
610
611
" --heap-prof" ,
611
- &EnvironmentOptions::heap_prof_name);
612
+ &EnvironmentOptions::heap_prof_name,
613
+ kAllowedInEnvvar );
612
614
AddOption (" --heap-prof-dir" ,
613
615
" Directory where the V8 heap profiles generated by --heap-prof "
614
616
" will be placed." ,
615
- &EnvironmentOptions::heap_prof_dir);
617
+ &EnvironmentOptions::heap_prof_dir,
618
+ kAllowedInEnvvar );
616
619
AddOption (" --heap-prof-interval" ,
617
620
" specified sampling interval in bytes for the V8 heap "
618
621
" profile generated with --heap-prof. (default: 512 * 1024)" ,
619
- &EnvironmentOptions::heap_prof_interval);
622
+ &EnvironmentOptions::heap_prof_interval,
623
+ kAllowedInEnvvar );
620
624
#endif // HAVE_INSPECTOR
621
625
AddOption (" --max-http-header-size" ,
622
626
" set the maximum size of HTTP headers (default: 16384 (16KB))" ,
0 commit comments