Ian Lance Taylor 38fab7369d runtime: correct counters in sweep
In the sweep code we can sometimes see incorrect counts when
    conservative stack scanning causes us to grey an object that we
    earlier decided could be freed.  We already ignored this check, but
    adjust this case to maintain correct span counts when it happens.
    This gives us slightly more correct numbers in MemStats, and helps
    avoid a rare failure in TestReadMemStats.
    
    Also fix the free index, and cope with finding a full span when
    allocating a new one.
    
    Reviewed-on: https://go-review.googlesource.com/134216

From-SVN: r264294
2018-09-13 22:06:16 +00:00
..
2018-01-09 01:23:08 +00:00
2018-01-09 01:23:08 +00:00
2018-01-09 01:23:08 +00:00
2018-01-09 01:23:08 +00:00
2018-01-09 01:23:08 +00:00
2018-06-13 13:51:23 +00:00
2018-02-08 15:30:22 +00:00
2016-07-22 18:15:38 +00:00
2018-01-09 01:23:08 +00:00
2018-01-09 01:23:08 +00:00
2018-01-09 01:23:08 +00:00
2018-01-10 04:53:55 +00:00
2018-01-09 01:23:08 +00:00
2018-01-17 14:20:29 +00:00
2018-01-09 01:23:08 +00:00
2018-01-09 01:23:08 +00:00
2018-01-09 01:23:08 +00:00
2018-01-09 01:23:08 +00:00
2018-05-31 21:42:53 +00:00
2018-01-09 01:23:08 +00:00
2018-01-09 01:23:08 +00:00
2018-01-09 01:23:08 +00:00
2018-01-09 01:23:08 +00:00
2018-06-22 14:25:52 +00:00
2018-02-08 15:30:22 +00:00
2018-01-09 01:23:08 +00:00
2018-01-09 01:23:08 +00:00