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

Issue 157044: code review 157044: runtime: do not create new threads during malloc. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 5 months ago by rsc
Modified:
15 years, 5 months ago
Reviewers:
agl1
CC:
golang-dev
Visibility:
Public.

Description

runtime: do not create new threads during malloc. the signal handling stack is a different size than the normal stack, so it cannot be allocated using the backup stack allocator. Fixes issue 250.

Patch Set 1 #

Patch Set 2 : code review 157044: runtime: do not create new threads during malloc. #

Patch Set 3 : code review 157044: runtime: do not create new threads during malloc. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M src/pkg/runtime/proc.c View 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 3
rsc
Hello agl1 (cc: golang-dev@googlegroups.com), I'd like you to review the following change.
15 years, 5 months ago (2009-11-17 21:02:01 UTC) #1
agl1
LGTM
15 years, 5 months ago (2009-11-17 21:14:24 UTC) #2
rsc
15 years, 5 months ago (2009-11-17 22:42:09 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=6c71581bab25 ***

runtime: do not create new threads during malloc.
	the signal handling stack is a different size than
	the normal stack, so it cannot be allocated using
	the backup stack allocator.

Fixes issue 250.

R=agl1
CC=golang-dev
http://codereview.appspot.com/157044
Sign in to reply to this message.

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