|
|
|
Created:
12 years, 5 months ago by rsc Modified:
12 years, 5 months ago Reviewers:
Visibility:
Public. |
cmd/6l, runtime: preemption torture test
Every function call sets stackguard0 = StackPreempt on entry
immediately after the prologue, so every function sees StackPreempt
and behaves as if it preempted and called gosched.
This isn't a garbage collection, of course, but at least it should
flush out missed stack splits due to preemption.
Patch Set 1 #Patch Set 2 : diff -r 77be25034f84 https://code.google.com/p/go/ #
|
|||||||||||||||||||||||||||||||