]> Cypherpunks repositories - gostls13.git/commit
reflect: test GC bits for slices
authorAustin Clements <austin@google.com>
Wed, 24 Jun 2015 15:25:28 +0000 (11:25 -0400)
committerAustin Clements <austin@google.com>
Fri, 26 Jun 2015 17:26:00 +0000 (17:26 +0000)
commit4b287553a439856a98f5422df683bb8d71e4d21b
tree923f28a1efd01e7123925ee127f1e9f0b931f6ea
parent37469a7bcbd833317175d6f6e82051812b7ac892
reflect: test GC bits for slices

Currently we test bitmap repetitions constructed by the compiler (for
small arrays) and repetitions performed by GC programs (large arrays
and reflect-constructed arrays), but we don't test dynamic repetitions
performed by the runtime for slice backing stores. Add tests that
parallel the array tests using slices.

Change-Id: If4425941a33cc5b20178dd819a7371e347e47585
Reviewed-on: https://go-review.googlesource.com/11422
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/reflect/all_test.go