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

Issue 144530045: code review 144530045: cmd/gc: fix call order in array literal of slice litera... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 5 months ago by rsc
Modified:
10 years, 5 months ago
Reviewers:
gobot, dave, iant, bradfitz
CC:
golang-codereviews, iant, r
Visibility:
Public.

Description

cmd/gc: fix call order in array literal of slice literal of make chan Fixes issue 8761.

Patch Set 1 #

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

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

Total comments: 2

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

Patch Set 5 : diff -r 6e19c3e6b95c0efb627a5ab98187957c325b563a https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -18 lines) Patch
M src/cmd/gc/order.c View 1 2 3 1 chunk +12 lines, -2 lines 0 comments Download
A test/fixedbugs/bug491.go View 1 2 3 1 chunk +110 lines, -0 lines 0 comments Download
A test/fixedbugs/issue8761.go View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
M test/live.go View 1 2 3 chunks +10 lines, -10 lines 0 comments Download
M test/live2.go View 1 2 2 chunks +4 lines, -6 lines 0 comments Download

Messages

Total messages: 9
rsc
Hello golang-codereviews@googlegroups.com (cc: iant, r), I'd like you to review this change to https://code.google.com/p/go/
10 years, 5 months ago (2014-09-24 19:45:08 UTC) #1
iant
LGTM https://codereview.appspot.com/144530045/diff/40001/src/cmd/gc/order.c File src/cmd/gc/order.c (right): https://codereview.appspot.com/144530045/diff/40001/src/cmd/gc/order.c#newcode1039 src/cmd/gc/order.c:1039: case OMAKECHAN: Why not OLEN, OCAP, OCOPY, ODELETE, ...
10 years, 5 months ago (2014-09-24 20:20:39 UTC) #2
rsc
https://codereview.appspot.com/144530045/diff/40001/src/cmd/gc/order.c File src/cmd/gc/order.c (right): https://codereview.appspot.com/144530045/diff/40001/src/cmd/gc/order.c#newcode1039 src/cmd/gc/order.c:1039: case OMAKECHAN: On 2014/09/24 20:20:39, iant wrote: > Why ...
10 years, 5 months ago (2014-09-30 16:27:20 UTC) #3
rsc
*** Submitted as https://code.google.com/p/go/source/detail?r=2e467bc60e64 *** cmd/gc: fix call order in array literal of slice literal ...
10 years, 5 months ago (2014-09-30 16:48:51 UTC) #4
gobot
This CL appears to have broken the linux-amd64-noopt builder. See http://build.golang.org/log/5f68b8a757093b685a0d964a71e5153789125cc2
10 years, 5 months ago (2014-09-30 16:53:51 UTC) #5
bradfitz
I see a number of 100 * time.Milliseconds in that test. Maybe it's too low. ...
10 years, 5 months ago (2014-09-30 17:00:30 UTC) #6
gobot
This changed caused perf changes on linux-amd64-perf: build-1 old new delta build-cputime 10068629000 10132633000 +0.64 ...
10 years, 5 months ago (2014-09-30 17:21:58 UTC) #7
gobot
This changed caused perf changes on windows-amd64-perf: build-1 old new delta build-rss 2589450240 2606473216 +0.66 ...
10 years, 5 months ago (2014-10-01 05:53:52 UTC) #8
dave_cheney.net
10 years, 5 months ago (2014-10-01 05:55:14 UTC) #9
I'm impressed the benchmark harness can detect such small variations.

On Wed, Oct 1, 2014 at 3:53 PM,  <gobot@golang.org> wrote:
> This changed caused perf changes on windows-amd64-perf:
>
>
> build-1                   old          new      delta
> build-rss          2589450240   2606473216      +0.66
> build-time        11429306400  11534401100      +0.92
>
> build-2                   old          new      delta
> build-rss          2588176384   2605088768      +0.65
>
> build-4                   old          new      delta
> build-rss          2584358912   2606006272      +0.84
> build-time         6153549200   6196587600      +0.70
>
> build-8                   old          new      delta
> build-rss          2589155328   2607415296      +0.71
> build-time         5745180500   5828255000      +1.45
>
> build-16                  old          new      delta
> build-rss          2590490624   2608865280      +0.71
>
>
http://build.golang.org/perfdetail?commit=2e467bc60e64def06419194f48fe0d6c8b5...
>
>
>
>
> --gobot
>
>
> https://codereview.appspot.com/144530045/
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-codereviews" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-codereviews+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Sign in to reply to this message.

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