Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(141)

Issue 130990043: code review 130990043: runtime: init GC later (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by dvyukov
Modified:
10 years, 6 months ago
Reviewers:
gobot, DMorsing, rsc
CC:
golang-codereviews, DMorsing, rsc, khr, rlh
Visibility:
Public.

Description

runtime: init GC later Init GC later as it needs to read GOGC env var. Fixes issue 8562.

Patch Set 1 #

Patch Set 2 : diff -r 9985ecf9828f87d8887550109060357e2163ab8a https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 3 : diff -r 9985ecf9828f87d8887550109060357e2163ab8a https://dvyukov%40google.com@code.google.com/p/go/ #

Total comments: 2

Patch Set 4 : diff -r 9985ecf9828f87d8887550109060357e2163ab8a https://dvyukov%40google.com@code.google.com/p/go/ #

Total comments: 5

Patch Set 5 : diff -r b839c52cb38239119105b465fa5463c12f9b8178 https://dvyukov%40google.com@code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -26 lines) Patch
M src/pkg/runtime/env_posix.c View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/pkg/runtime/proc.c View 1 2 3 4 2 chunks +1 line, -5 lines 0 comments Download
M src/pkg/runtime/runtime.c View 1 2 3 4 4 chunks +13 lines, -21 lines 0 comments Download

Messages

Total messages: 11
dvyukov
Hello golang-codereviews@googlegroups.com (cc: khr@golang.org, rlh@golang.org, rsc@golang.org), I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
10 years, 6 months ago (2014-08-20 11:41:41 UTC) #1
DMorsing
https://codereview.appspot.com/130990043/diff/20002/src/pkg/runtime/env_posix.c File src/pkg/runtime/env_posix.c (right): https://codereview.appspot.com/130990043/diff/20002/src/pkg/runtime/env_posix.c#newcode25 src/pkg/runtime/env_posix.c:25: if(envv == nil && runtime·strcmp((byte*)s, (byte*)"GOTRACEBACK") != 0) I ...
10 years, 6 months ago (2014-08-20 13:57:22 UTC) #2
dvyukov
https://codereview.appspot.com/130990043/diff/20002/src/pkg/runtime/env_posix.c File src/pkg/runtime/env_posix.c (right): https://codereview.appspot.com/130990043/diff/20002/src/pkg/runtime/env_posix.c#newcode25 src/pkg/runtime/env_posix.c:25: if(envv == nil && runtime·strcmp((byte*)s, (byte*)"GOTRACEBACK") != 0) On ...
10 years, 6 months ago (2014-08-20 14:04:08 UTC) #3
DMorsing
On 2014/08/20 14:04:08, dvyukov wrote: > GOTRACEBACK is queried during the very first mallocs, which ...
10 years, 6 months ago (2014-08-20 14:29:29 UTC) #4
DMorsing
On 2014/08/20 14:29:29, DMorsing wrote: > On 2014/08/20 14:04:08, dvyukov wrote: > > GOTRACEBACK is ...
10 years, 6 months ago (2014-08-20 14:47:30 UTC) #5
dvyukov
PTAL
10 years, 6 months ago (2014-08-20 14:50:07 UTC) #6
DMorsing
LGTM https://codereview.appspot.com/130990043/diff/40001/src/pkg/runtime/proc.c File src/pkg/runtime/proc.c (right): https://codereview.appspot.com/130990043/diff/40001/src/pkg/runtime/proc.c#newcode172 src/pkg/runtime/proc.c:172: runtime·gotraceback(nil); This is no longer needed. https://codereview.appspot.com/130990043/diff/40001/src/pkg/runtime/runtime.c File ...
10 years, 6 months ago (2014-08-20 15:01:16 UTC) #7
rsc
LGTM https://codereview.appspot.com/130990043/diff/40001/src/pkg/runtime/runtime.c File src/pkg/runtime/runtime.c (right): https://codereview.appspot.com/130990043/diff/40001/src/pkg/runtime/runtime.c#newcode122 src/pkg/runtime/runtime.c:122: traceback_cache = ~(uint32)0; On 2014/08/20 15:01:16, DMorsing wrote: ...
10 years, 6 months ago (2014-08-20 18:15:08 UTC) #8
dvyukov
https://codereview.appspot.com/130990043/diff/40001/src/pkg/runtime/proc.c File src/pkg/runtime/proc.c (right): https://codereview.appspot.com/130990043/diff/40001/src/pkg/runtime/proc.c#newcode172 src/pkg/runtime/proc.c:172: runtime·gotraceback(nil); On 2014/08/20 15:01:16, DMorsing wrote: > This is ...
10 years, 6 months ago (2014-08-21 07:50:49 UTC) #9
dvyukov
*** Submitted as https://code.google.com/p/go/source/detail?r=400ada19db6a *** runtime: init GC later Init GC later as it needs ...
10 years, 6 months ago (2014-08-21 07:55:10 UTC) #10
gobot
10 years, 6 months ago (2014-08-21 08:36:51 UTC) #11
Message was sent while issue was closed.
This CL appears to have broken the netbsd-amd64-bsiegert builder.
See http://build.golang.org/log/5e215715428411456600710e34626d543ddd4c95
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b