On Sun, May 1, 2016 at 2:45 PM, Danny Dorfman <[email protected]> wrote:
> Hello there,
>
> I have been trying to activate V8;s internal profiler by running
> V8::SetFlagsFromCommandLine() from my code (with "--log-timer-events" and
> "--prof" as parameters). The code runs, and several log files are created.
> I tried processing the log files with tools/linux-tick-processor, but the
> script aborts with this error:
>
> Code move event for unknown code: 0x2d6bba36c7a0
> Statistical profiling result from /mydir/isolate-0x7f498c04dbc0-v8.log, (0
> ticks, 0 unaccounted, 0 excluded).
>
> Any idea what this means? The log file has a lot of lines in it, but I think
> the relevant segment looks like this:
> ...
> code-move,0x2d6bba45fdc0,0x2d6bba52e080
> code-move,0x2d6bba45fea0,0x2d6bba52e160
> code-move,0x2d6bba36c7a0,0x2d6bba52e220
> code-move,0x2d6bba36c920,0x2d6bba52e3a0
> code-move,0x2d6bba36cb60,0x2d6bba52e5e0
> ...
>
> I use the latest build of version 4.9.
>
> Regards,
> Danny

I assume V8 is already running by the time you call SetFlagsFromCommandLine()?

The warning you see is what you get when tickprocessor.js sees ticks
in JS code that existed before the profiler was started, because those
don't have a corresponding code-creation entry in the log file.

You could try including --nocompact_code_space but YMMV; use at your own risk.

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to