]> Cypherpunks repositories - gostls13.git/commit
gc, ld: tag data as no-pointers and allocate in separate section
authorRuss Cox <rsc@golang.org>
Sun, 19 Feb 2012 08:19:52 +0000 (03:19 -0500)
committerRuss Cox <rsc@golang.org>
Sun, 19 Feb 2012 08:19:52 +0000 (03:19 -0500)
commit4e3f8e915fadd17b7caffaae273eddd3528ac080
treee5dd1e72fb0804a95996bb19af1a05ce435612bc
parentf7410873ba731e4896c27f9ee866c18cb15668bf
gc, ld: tag data as no-pointers and allocate in separate section

The garbage collector can avoid scanning this section, with
reduces collection time as well as the number of false positives.
Helps a little bit with issue 909, but certainly does not solve it.

R=ken2
CC=golang-dev
https://golang.org/cl/5671099
12 files changed:
src/cmd/5g/gsubr.c
src/cmd/5l/5.out.h
src/cmd/5l/obj.c
src/cmd/6g/gsubr.c
src/cmd/6l/6.out.h
src/cmd/6l/obj.c
src/cmd/8g/gsubr.c
src/cmd/8l/8.out.h
src/cmd/8l/obj.c
src/cmd/ld/data.c
src/cmd/ld/lib.h
src/cmd/ld/symtab.c