• Russ Cox's avatar
    runtime/pprof: test multithreaded profile, remove OS X workarounds · d3066e47
    Russ Cox authored
    This means that pprof will no longer report profiles on OS X.
    That's unfortunate, but the profiles were often wrong and, worse,
    it was difficult to tell whether the profile was wrong or not.
    
    The workarounds were making the scheduler more complex,
    possibly caused a deadlock (see issue 5519), and did not actually
    deliver reliable results.
    
    It may be possible for adventurous users to apply a patch to
    their kernels to get working results, or perhaps having no results
    will encourage someone to do the work of creating a profiling
    thread like on Windows. Issue 6047 has details.
    
    Fixes #5519.
    Fixes #6047.
    
    R=golang-dev, bradfitz, r
    CC=golang-dev
    https://golang.org/cl/12429045
    d3066e47
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.dist Loading commit data...
all.bash Loading commit data...
all.bat Loading commit data...
all.rc Loading commit data...
clean.bash Loading commit data...
clean.bat Loading commit data...
clean.rc Loading commit data...
make.bash Loading commit data...
make.bat Loading commit data...
make.rc Loading commit data...
race.bash Loading commit data...
race.bat Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
run.rc Loading commit data...
sudo.bash Loading commit data...