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

Issue 7534044: code review 7534044: runtime: fix misaligned 64-bit atomic (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by dvyukov
Modified:
11 years, 1 month ago
Reviewers:
dave, albert.strasheim
CC:
golang-dev, 0xe2.0x9a.0x9b_gmail.com, bradfitz
Visibility:
Public.

Description

runtime: fix misaligned 64-bit atomic Fixes issue 4869. Fixes issue 5007. Update issue 5005.

Patch Set 1 #

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

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

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

Total comments: 2

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M src/pkg/runtime/mgc0.c View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/pkg/runtime/parfor.c View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M src/pkg/runtime/runtime.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7
dvyukov
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
11 years, 1 month ago (2013-03-10 12:06:24 UTC) #1
atom
https://codereview.appspot.com/7534044/diff/8001/src/pkg/runtime/runtime.h File src/pkg/runtime/runtime.h (right): https://codereview.appspot.com/7534044/diff/8001/src/pkg/runtime/runtime.h#newcode486 src/pkg/runtime/runtime.h:486: uint32 pad; // to align ParForThread.pos for 64-bit atomic ...
11 years, 1 month ago (2013-03-10 12:37:30 UTC) #2
bradfitz
LGTM On Sun, Mar 10, 2013 at 5:06 AM, <dvyukov@google.com> wrote: > Reviewers: golang-dev1, > ...
11 years, 1 month ago (2013-03-10 15:12:49 UTC) #3
dvyukov
*** Submitted as https://code.google.com/p/go/source/detail?r=9fb011139c2b *** runtime: fix misaligned 64-bit atomic Fixes issue 4869. Fixes issue ...
11 years, 1 month ago (2013-03-10 16:46:22 UTC) #4
dvyukov
https://codereview.appspot.com/7534044/diff/8001/src/pkg/runtime/runtime.h File src/pkg/runtime/runtime.h (right): https://codereview.appspot.com/7534044/diff/8001/src/pkg/runtime/runtime.h#newcode486 src/pkg/runtime/runtime.h:486: uint32 pad; // to align ParForThread.pos for 64-bit atomic ...
11 years, 1 month ago (2013-03-10 16:51:02 UTC) #5
dave_cheney.net
Thank you On 11/03/2013, at 2:12 AM, Brad Fitzpatrick <bradfitz@golang.org> wrote: > LGTM > > ...
11 years, 1 month ago (2013-03-11 00:04:33 UTC) #6
albert.strasheim
11 years, 1 month ago (2013-03-11 05:34:14 UTC) #7
Message was sent while issue was closed.
On 2013/03/10 16:46:22, dvyukov wrote:
> *** Submitted as https://code.google.com/p/go/source/detail?r=9fb011139c2b ***
> runtime: fix misaligned 64-bit atomic
> Fixes issue 4869.
> Fixes issue 5007.
> Update issue 5005.

Stress test update:

Things are looking much better, but a few issues remain.

issue 5005: sporadic test failures on linux/386

issue 5025: timeouts in runtime tests that I mentioned in issue 5007

I think we have internal tests that are also hitting the same problem as issue
5025. It always includes a goroutine that seems to be hanging while doing a
system call.

Cheers

Albert
Sign in to reply to this message.

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