Tick processor tries to track code pages for all logged addresses here 
<https://chromium.googlesource.com/v8/v8.git/+/refs/heads/master/tools/codemap.js#143>

this.pages_[addr >>> CodeMap.PAGE_ALIGNMENT] = 1;

Unfortunately, this does not work correctly for 64-bit addresses: unsigned 
right shift 
<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators#Unsigned_right_shift>
 first 
converts operand to a 32-bit integer, and only then makes the right shift. 
For example, calculated page for address 0xe6703e022a4 is 0x3e02, instead 
of 0xe6703e02. This may lead to errors in processed profile: tick address goes 
to the wrong page 
<https://chromium.googlesource.com/v8/v8.git/+/refs/heads/master/tools/codemap.js#191>
 and 
is either not properly counted or not counted at all.

In case the tick-processor is still maintained, could someone of 
maintainers fix this problem?

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/432ac548-c39f-4088-b556-113cba23d31f%40googlegroups.com.

Reply via email to