]> Cypherpunks repositories - gostls13.git/commit
runtime: clarify table of arena sizes
authorAustin Clements <austin@google.com>
Thu, 4 Oct 2018 14:46:20 +0000 (10:46 -0400)
committerAustin Clements <austin@google.com>
Thu, 4 Oct 2018 16:14:44 +0000 (16:14 +0000)
commit4c1c839a3d2270d846f5a6d1cd1287e8560f0265
tree73a1d39a2cb46c31d12579cbffd807efb711c820
parent011b8eb6bb9783ec6b22697810863f30ca7bda1f
runtime: clarify table of arena sizes

Currently the table of arena sizes mixes the number of entries in the
L1 with the size of the L2. While the size of the L2 is important,
this makes it hard to see what's actually going on because there's an
implicit factor of sys.PtrSize.

This changes the L2 column to say both the number of entries and the
size that results in. This should hopefully make the relations between
the columns of the table clearer, since they can now be plugged
directly into the given formula.

Change-Id: Ie677adaef763b893a2f620bd4fc3b8db314b3a1e
Reviewed-on: https://go-review.googlesource.com/c/139697
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/malloc.go