aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-08-19 19:09:50 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-08-19 19:09:50 +0000
commit4f6bdb08bab64b973e465fb45deb751561e3b969 (patch)
tree1945ba0d73dd9ecc9361beaaa2fa056653e3bce8 /gcc
parent188d00796f5bd338b9b8ab1cc8ba4b43af8ab8fd (diff)
downloadgcc-4f6bdb08bab64b973e465fb45deb751561e3b969.zip
gcc-4f6bdb08bab64b973e465fb45deb751561e3b969.tar.gz
gcc-4f6bdb08bab64b973e465fb45deb751561e3b969.tar.bz2
runtime: be more strict in GC
With CL 190599, along with what we do in greyobject, we ensure that we only mark allocated heap objects. As a result we can be more strict in GC: - Enable "sweep increased allocation count" check, which checks that the number of mark bits set are no more than the number of allocation bits. - Enable invalid pointer check on heap scan. We only trace allocated heap objects, which should not contain invalid pointer. This also makes the libgo runtime more convergent with the gc runtime. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/190797 From-SVN: r274678
Diffstat (limited to 'gcc')
-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 74577f5..b1a6579 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-85857977230437f2b3dcbeea009efbb8b2789039
+b0ba5daa8216a0424b24f74466cedab0b986f3b4
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.