]> Cypherpunks repositories - gostls13.git/commit
runtime: add spanSet data structure
authorMichael Anthony Knyszek <mknyszek@google.com>
Thu, 20 Feb 2020 21:22:03 +0000 (21:22 +0000)
committerMichael Knyszek <mknyszek@google.com>
Mon, 27 Apr 2020 17:49:51 +0000 (17:49 +0000)
commit8af8fa910329242caa7402561ed011d2de3f00e9
tree18b91bc622d70af37a8e2e9711463b5b11c8ae89
parent40f2dab0e1740965c014ce22d194cc3fa2976868
runtime: add spanSet data structure

This change copies the gcSweepBuf data structure into a new file and
renames it spanSet. It will serve as the basis for a heavily modified
version of the gcSweepBuf data structure for the new mcentral
implementation.

We move it into a separate file now for two reasons:
1. We will need both implementations as they will coexist simultaneously
   for a time.
2. By creating it now in a new change it'll make future changes which
   modify it easier to review (rather than introducing the new file then).

Updates #37487.

Change-Id: If80603cab6e813a1ee2e5ecd49dcde5d8045a6c7
Reviewed-on: https://go-review.googlesource.com/c/go/+/221179
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/mspanset.go [new file with mode: 0644]