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

Issue 5483071: code review 5483071: gc: better loopdepth analysis for labels (Closed)

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

Description

gc: better loopdepth analysis for labels This avoids degraded performance caused by extra labels emitted by inlining (breaking strconv ftoa alloc count unittest) and is better in any case.

Patch Set 1 #

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

Patch Set 3 : diff -r e25954278b04 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r e25954278b04 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r e25954278b04 https://go.googlecode.com/hg/ #

Total comments: 4

Patch Set 6 : diff -r 50e6f6bb7af5 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -3 lines) Patch
M src/cmd/gc/esc.c View 1 2 3 4 5 3 chunks +69 lines, -3 lines 0 comments Download
M src/cmd/gc/fmt.c View 1 2 chunks +6 lines, -0 lines 0 comments Download
M test/escape2.go View 1 2 3 4 5 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 5
lvd
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 3 months ago (2011-12-14 13:36:36 UTC) #1
rsc
LGTM http://codereview.appspot.com/5483071/diff/7001/src/cmd/gc/esc.c File src/cmd/gc/esc.c (right): http://codereview.appspot.com/5483071/diff/7001/src/cmd/gc/esc.c#newcode255 src/cmd/gc/esc.c:255: // See case OLABEL in escloopdepth above Delete ...
13 years, 3 months ago (2011-12-15 16:09:34 UTC) #2
rsc
in the CL desc s/beter/better/
13 years, 3 months ago (2011-12-15 16:10:20 UTC) #3
lvd
http://codereview.appspot.com/5483071/diff/7001/src/cmd/gc/esc.c File src/cmd/gc/esc.c (right): http://codereview.appspot.com/5483071/diff/7001/src/cmd/gc/esc.c#newcode255 src/cmd/gc/esc.c:255: // See case OLABEL in escloopdepth above On 2011/12/15 ...
13 years, 3 months ago (2011-12-15 16:27:30 UTC) #4
lvd
13 years, 3 months ago (2011-12-15 16:36:03 UTC) #5
*** Submitted as http://code.google.com/p/go/source/detail?r=eeffa8344a46 ***

gc: better loopdepth analysis for labels

This avoids degraded performance caused by extra labels
emitted by inlining (breaking strconv ftoa alloc count unittest) and is better
in any case.

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

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