1
0
mirror of https://github.com/golang/go synced 2024-10-05 06:21:24 -06:00
go/src/pkg
Jan Ziak 013fa63c90 runtime: struct Obj in mgc0.c and buffers in scanblock()
Details:

- This CL is the conceptual skeleton of code found in CL 6114046

- The garbage collector uses struct Obj to specify memory blocks

- scanblock() is putting found memory blocks into an intermediate buffer
  (xbuf) before adding/flushing them to the main work buffer (wbuf)

- The main loop in scanblock() is replaced with a skeleton code that
  in the future will be able to recognize the type of objects and
  thus will improve the garbage collector's precision.
  For now, all objects are simply sequences of pointers so
  the precision of the garbage collector remains unchanged.

- The code plugs .gcdata and .gcbss sections into the garbage collector.
  scanblock() in this CL is unable to make any use of this.

R=rsc, dvyukov, remyoudompheng
CC=dave, golang-dev, minux.ma
https://golang.org/cl/6856121
2012-12-16 19:32:12 -05:00
..
archive archive/zip: handle extra data headers with no body 2012-11-18 00:45:47 +11:00
bufio bufio: minor fixes 2012-12-10 17:25:31 -05:00
builtin builtin: correct comment on builtin function delete(). 2012-12-14 09:13:42 -08:00
bytes bytes: avoid duplicate malloc/copy in Buffer.ReadString 2012-12-03 14:04:18 +01:00
compress compress/flate: shrink decompressor struct for better performance 2012-11-01 13:57:24 -04:00
container container/heap: Simplify the example. 2012-12-04 14:11:33 -08:00
crypto crypto/tls: fix loading keys labeled just "PRIVATE KEY" 2012-12-01 11:02:08 -08:00
database/sql database/sql: adds test for fix in issue 4433. 2012-12-14 09:00:33 -08:00
debug debug/elf: fix offset for GNU version symbols 2012-11-15 03:36:19 +11:00
encoding encoding/csv: add Error method to Writer 2012-12-11 13:29:13 -05:00
errors
exp src: gofmt -w -s 2012-12-15 14:19:51 +09:00
expvar
flag flag: fix bug in handling of booleans on error 2012-07-27 16:13:29 -07:00
fmt fmt: fix %v of complex slice 2012-12-11 11:49:41 -05:00
go go/build: give better explanation for "cannot find package" 2012-12-12 21:38:52 +11:00
hash build: make int 64 bits on amd64 2012-09-24 20:57:01 -04:00
html all: fix the the typos 2012-11-22 02:58:24 +08:00
image all: fix the the typos 2012-11-22 02:58:24 +08:00
index/suffixarray
io io: SectionReader.ReadAt should return EOF when buf is not fully read 2012-12-13 18:36:24 +08:00
log log/syslog: fix flakey test on slow hosts 2012-12-13 16:26:20 +11:00
math math/big: add SetUint64 and Uint64 functions to *Int 2012-12-11 12:19:10 -05:00
mime mime/multipart: allow setting the Writer boundary 2012-12-10 16:30:42 -05:00
net net: change ListenUnixgram signature to return UnixConn instead of UDPConn 2012-12-16 11:51:47 +09:00
old/netchan gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
os os: Improve the accuracy of os.Chtimes 2012-12-13 13:02:39 -08:00
path all: set GOMAXPROCS to 1 when counting mallocs 2012-12-01 00:38:01 +08:00
reflect all: set GOMAXPROCS to 1 when counting mallocs 2012-12-01 00:38:01 +08:00
regexp regexp: re-enable TestBadCompile 2012-12-11 12:19:39 -05:00
runtime runtime: struct Obj in mgc0.c and buffers in scanblock() 2012-12-16 19:32:12 -05:00
sort sort: fix comment for various Search routines 2012-11-07 05:07:46 +08:00
strconv all: set GOMAXPROCS to 1 when counting mallocs 2012-12-01 00:38:01 +08:00
strings bytes, strings: fix Reader WriteTo return value on 0 bytes copied 2012-11-25 09:04:13 -08:00
sync sync/atomic: fix race instrumentation 2012-11-15 21:30:24 +04:00
syscall os: Improve the accuracy of os.Chtimes 2012-12-13 13:02:39 -08:00
testing gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
text gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
time time: add Round and Truncate 2012-12-09 03:59:33 -05:00
unicode unicode: move unicode and related packages to Unicode 6.2.0. 2012-10-31 17:32:16 +01:00
unsafe unsafe: fix a typo 2012-10-19 16:35:15 +11:00