I have a question. As far as I can see, the C version was calling ...
10 years, 6 months ago
(2014-08-27 15:59:07 UTC)
#12
Message was sent while issue was closed.
I have a question.
As far as I can see, the C version was calling runtime·goroutineheader(g);
(which happens to interest me because it was doing "runtime·printf("goroutine %D
[%S", gp->goid, status);"), and I don't see any equivalent done in the Go
version. What am I missing? Or is it omitted on purpose?
Thanks.
On 2014/08/26 06:40:05, remyoudompheng wrote:
> *** Submitted as https://code.google.com/p/go/source/detail?r=6138449ef60f ***
>
> runtime: convert Stack to Go.
>
> LGTM=khr
> R=khr, josharian
> CC=golang-codereviews
> https://codereview.appspot.com/129510043
>
>
https://codereview.appspot.com/129510043/diff/80001/src/pkg/runtime/asm_amd64...
> File src/pkg/runtime/asm_amd64p32.s (right):
>
>
https://codereview.appspot.com/129510043/diff/80001/src/pkg/runtime/asm_amd64...
> src/pkg/runtime/asm_amd64p32.s:751: TEXT
runtime·gogetcallersp(SB),NOSPLIT,$0-12
> On 2014/08/25 01:03:36, khr wrote:
> > I think this should be $0-8?
>
> The boundary between args and return values is 64-bit aligned. It should be
like
> gogetcallerpc
https://codereview.appspot.com/129510043/diff/120001/src/pkg/runtime/mprof.goc File src/pkg/runtime/mprof.goc (left): https://codereview.appspot.com/129510043/diff/120001/src/pkg/runtime/mprof.goc#oldcode276 src/pkg/runtime/mprof.goc:276: runtime·goroutineheader(g); you forgot to include this header when you ...
10 years, 6 months ago
(2014-08-27 16:16:32 UTC)
#13
Issue 129510043: code review 129510043: runtime: convert Stack to Go.
(Closed)
Created 10 years, 6 months ago by remyoudompheng
Modified 10 years, 6 months ago
Reviewers: mpl, bradfitz, gobot
Base URL:
Comments: 6