DescriptionMake the MessageLoop PostTask ID more unique.
When looking at chrome://tracing we were seeing duplicate IDs linking PostTask
flow events. This CL is an attempt to fix that issue.
Currently we take the sequence_num and shift it 32 bits to the left in a uint64.
When then OR the intptr_t of this into that number. On x86_64 the
sizeof(intptr_t) is 8bytes. This means, we'll be ORing the top 32 bits of the
this address with the sequence_num.
This CL takes the this pointer and removes the top 32bits before ORing with the
sequence_num. So, we get the sequence_num followed by the bottom 32bits of the
this pointer.
BUG=
TBR=darin@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=218403
Patch Set 1 #
Messages
Total messages: 15 (0 generated)
|