How to turn off profiling.

29 views
Skip to first unread message

Jane Chen

unread,
Jun 25, 2015, 12:41:06 AM6/25/15
to v8-u...@googlegroups.com
Embedding v8 3.24.

I know how to turn on profiling using v8::V8::SetFlagsFromString("--prof",6). How do I turn it off when done?

Ben Noordhuis

unread,
Jun 25, 2015, 6:56:30 AM6/25/15
to v8-u...@googlegroups.com
You can't, except by disposing the isolate.

In strong-agent, we have a watchdog mode where we suspend V8's
profiler thread. It's a terrible hack, though, and prone to deadlock
unless you're very careful.
Reply all
Reply to author
Forward
0 new messages