]> Cypherpunks.ru repositories - gostls13.git/commit
Merge remote-tracking branch 'origin/dev.garbage'
authorRick Hudson <rlh@golang.org>
Fri, 29 Apr 2016 17:49:18 +0000 (13:49 -0400)
committerRick Hudson <rlh@golang.org>
Fri, 29 Apr 2016 17:56:44 +0000 (13:56 -0400)
commit56b54912628934707977a2a0a3824288c0286830
treeb6ceccb7da39be2847b3bd19c50a41b88103076d
parentd8d33514f9e8c80d504ab4a61ef96621afc3647d
parente9eaa181fcadc2162baa62ccd8bfeb610acfdd55
Merge remote-tracking branch 'origin/dev.garbage'

This commit moves the GC from free list allocation to
bit mark allocation. Instead of using the bitmaps
generated during the mark phases to generate free
list and then using the free lists for allocation we
allocate directly from the bitmaps.

The change in the garbage benchmark

name              old time/op  new time/op  delta
XBenchGarbage-12  2.22ms ± 1%  2.13ms ± 1%  -3.90%  (p=0.000 n=18+18)

Change-Id: I17f57233336f0ca5ef5404c3be4ecb443ab622aa