• Keith Randall's avatar
    runtime: fix stack memory test · 1329d044
    Keith Randall authored
    Stand-alone this test is fine.  Run together with
    others, however, the stack used can actually go
    negative because other tests are freeing stack
    during its execution.
    
    This behavior is new with the new stack allocator.
    The old allocator never returned (min-sized) stacks.
    
    This test is fairly poor - it needs to run in
    isolation to be accurate.  Maybe we should delete it.
    
    LGTM=r
    R=r
    CC=golang-codereviews
    https://golang.org/cl/119330044
    1329d044
stack_test.go 7.49 KB