]> Cypherpunks repositories - gostls13.git/commit
runtime: eliminate heapBits.hasPointers
authorAustin Clements <austin@google.com>
Thu, 2 Jun 2016 15:07:41 +0000 (11:07 -0400)
committerAustin Clements <austin@google.com>
Fri, 28 Apr 2017 22:50:34 +0000 (22:50 +0000)
commitc44d031bf08a916c01ee53a33fc54d46e0833d1b
treeb10e86724c410f4871da3ba1035256be673eaf4a
parent1a033b1a70668eb8b3832bd06512d0a8d2e59f57
runtime: eliminate heapBits.hasPointers

This is no longer necessary now that we can more efficiently consult
the span's noscan bit.

This is a cherry-pick of dev.garbage commit 312aa09996.

Change-Id: Id0b00b278533660973f45eb6efa5b00f373d58af
Reviewed-on: https://go-review.googlesource.com/41252
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/mbitmap.go
src/runtime/mgcmark.go