runtime, cmd/gc: Get rid of vararg channel calls.
Vararg C calls present a problem for the GC because the
argument types are not derivable from the signature. Remove
them by passing pointers to channel elements instead of the
channel elements directly.
LGTM for chan.c Doesn't it affect escape analysis? Doesn't this force heap allocation for values ...
11 years, 5 months ago
(2014-01-17 08:58:49 UTC)
#3
LGTM for chan.c
Doesn't it affect escape analysis? Doesn't this force heap allocation for values
sent over chans? Doesn't we need to add some special logic to esc.c for
chans/maps?
*** Submitted as https://code.google.com/p/go/source/detail?r=10e099e6ab49 *** runtime, cmd/gc: Get rid of vararg channel calls. Vararg C ...
11 years, 5 months ago
(2014-01-17 22:48:48 UTC)
#5
*** Submitted as https://code.google.com/p/go/source/detail?r=10e099e6ab49 ***
runtime, cmd/gc: Get rid of vararg channel calls.
Vararg C calls present a problem for the GC because the
argument types are not derivable from the signature. Remove
them by passing pointers to channel elements instead of the
channel elements directly.
R=golang-codereviews, gobot, rsc, dvyukov
CC=golang-codereviews
https://codereview.appspot.com/53430043
Issue 53430043: code review 53430043: runtime, cmd/gc: Get rid of vararg channel calls.
(Closed)
Created 11 years, 5 months ago by khr
Modified 11 years, 5 months ago
Reviewers:
Base URL:
Comments: 0