Descriptionruntime: avoid inconsistent goroutine state in profiler
Because profiling signals can arrive at any time, we must
handle the case where a profiling signal arrives halfway
through a goroutine switch. Luckily, although there is much
to think through, very little needs to change.
Fixes issue 6000.
Fixes issue 6015.
Patch Set 1 #Patch Set 2 : diff -r 290bc6eaa85f https://code.google.com/p/go/ #Patch Set 3 : diff -r 290bc6eaa85f https://code.google.com/p/go/ #Patch Set 4 : diff -r d428d4ae674f https://code.google.com/p/go #
Total comments: 8
Patch Set 5 : diff -r d428d4ae674f https://code.google.com/p/go #
Total comments: 1
Patch Set 6 : diff -r 0f036b4b1da5 https://code.google.com/p/go/ #Patch Set 7 : diff -r 0f036b4b1da5 https://code.google.com/p/go/ #
Total comments: 2
Patch Set 8 : diff -r 4ff794648a2c https://code.google.com/p/go/ #
Total comments: 1
MessagesTotal messages: 13
|