aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2018-09-13 22:06:16 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2018-09-13 22:06:16 +0000
commit38fab7369d19fd545eb8510ec198e73949a2c75d (patch)
tree39d19743a7f211c9c8b196184a333a57a9b2d6ba /gcc/go
parent84b5706abb8f5dff634e588071ab4fef080cd05e (diff)
downloadgcc-38fab7369d19fd545eb8510ec198e73949a2c75d.zip
gcc-38fab7369d19fd545eb8510ec198e73949a2c75d.tar.gz
gcc-38fab7369d19fd545eb8510ec198e73949a2c75d.tar.bz2
runtime: correct counters in sweep
In the sweep code we can sometimes see incorrect counts when conservative stack scanning causes us to grey an object that we earlier decided could be freed. We already ignored this check, but adjust this case to maintain correct span counts when it happens. This gives us slightly more correct numbers in MemStats, and helps avoid a rare failure in TestReadMemStats. Also fix the free index, and cope with finding a full span when allocating a new one. Reviewed-on: https://go-review.googlesource.com/134216 From-SVN: r264294
Diffstat (limited to 'gcc/go')
-rw-r--r--gcc/go/gofrontend/MERGE2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 6650b03..9a789b9 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-f2cd046a4e0d681c3d21ee547b437d3eab8af268
+82d7205ba9e5c1fe38fd24f89a45caf2e974975b
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.