• Austin Clements's avatar
    runtime: fix hashing of trace stacks · 739f1338
    Austin Clements authored
    The call to hash the trace stack reversed the "seed" and "size"
    arguments to memhash and, hence, always called memhash with a 0 size,
    which dutifully returned a hash value that depended only on the number
    of PCs in the stack and not their values. As a result, all stacks were
    put in to a very subset of the 8,192 buckets.
    
    Fix this by passing these arguments in the correct order.
    
    Change-Id: I67cd29312f5615c7ffa23e205008dd72c6b8af62
    Reviewed-on: https://go-review.googlesource.com/13613Reviewed-by: 's avatarDmitry Vyukov <dvyukov@google.com>
    739f1338
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...