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

Issue 5654065: code review 5654065: sync/atomic: disable hammer pointer tests on wrong size... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 4 months ago by iant
Modified:
13 years, 4 months ago
Reviewers:
CC:
rsc, dvyukov, golang-dev
Visibility:
Public.

Description

sync/atomic: disable hammer pointer tests on wrong size system hammerCompareAndSwapPointer64 was only passing on little-endian systems. hammerCompareAndSwapPointer32 was writing 8 bytes to a uint32 value on the heap.

Patch Set 1 #

Patch Set 2 : diff -r cbee2f341f10 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M src/pkg/sync/atomic/atomic_test.go View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 3
iant
Hello rsc, dvyukov (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 4 months ago (2012-02-12 04:28:48 UTC) #1
rsc
LGTM
13 years, 4 months ago (2012-02-13 03:56:11 UTC) #2
iant
13 years, 4 months ago (2012-02-13 05:53:36 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=4fb39381b140 ***

sync/atomic: disable hammer pointer tests on wrong size system

hammerCompareAndSwapPointer64 was only passing on
little-endian systems.  hammerCompareAndSwapPointer32 was
writing 8 bytes to a uint32 value on the heap.

R=rsc, dvyukov
CC=golang-dev
http://codereview.appspot.com/5654065
Sign in to reply to this message.

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