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

Issue 18740044: code review 18740044: runtime: relax preemption assertion during stack split (Closed)

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

Description

runtime: relax preemption assertion during stack split The case can happen when starttheworld is calling acquirep to get things moving again and acquirep gets preempted. The stack trace is in golang.org/issue/6644. It is difficult to build a short test case for this, but the person who reported issue 6644 confirms that this solves the problem. Fixes issue 6644.

Patch Set 1 #

Patch Set 2 : diff -r f257b02e7ffe https://code.google.com/p/go/ #

Patch Set 3 : diff -r f257b02e7ffe https://code.google.com/p/go/ #

Patch Set 4 : diff -r a0d4544cdb2a https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/pkg/runtime/stack.c View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
11 years, 6 months ago (2013-10-28 23:28:07 UTC) #1
r
LGTM
11 years, 6 months ago (2013-10-28 23:31:44 UTC) #2
rsc
11 years, 6 months ago (2013-10-28 23:40:45 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=1a8903f0a577 ***

runtime: relax preemption assertion during stack split

The case can happen when starttheworld is calling acquirep
to get things moving again and acquirep gets preempted.
The stack trace is in golang.org/issue/6644.

It is difficult to build a short test case for this, but
the person who reported issue 6644 confirms that this
solves the problem.

Fixes issue 6644.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/18740044
Sign in to reply to this message.

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