Go

lp:~push-gopher/golang/tip

Created by Push Gopher and last modified
Get this branch:
bzr branch lp:~push-gopher/golang/tip
Only Push Gopher can upload to this branch. If you are Push Gopher please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Push Gopher
Project:
Go
Status:
Development

Recent revisions

17354. By Dmitriy Vyukov <email address hidden>

runtime: introduce notetsleepg function
notetsleepg is the same as notetsleep, but is called on user g.
It includes entersyscall/exitsyscall and will help to avoid
split stack functions in syscall status.

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/11681043
HG=17354:3d177aef8dd3

17353. By Dmitriy Vyukov <email address hidden>

misc/cgo/test: add test for cgo callbacks with different amount of stack space available

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/11677043
HG=17353:f454ddfc8968

17352. By Dmitriy Vyukov <email address hidden>

runtime: allow stack split in body of closechan
This gives more space during the call to runtime.lock.

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/11679043
HG=17352:2eaab1510c3f

17351. By Andrew Gerrand <email address hidden>

[release-branch.go1.1] cmd/gc: fix issue with method wrappers not having escape analysis run on them.

««« CL 10383048 / 58e15340e78f
cmd/gc: fix issue with method wrappers not having escape analysis run on them.

Escape analysis needs the right curfn value on a dclfunc node, otherwise it will not analyze the function.
When generating method value wrappers, we forgot to set the curfn correctly.

Fixes issue 5753.

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/10383048
»»»

Update issue 5928

R=golang-dev, dave
CC=golang-dev
https://codereview.appspot.com/11669043
HG=17351:e503b72350b2

17350. By Dmitriy Vyukov <email address hidden>

runtime: clarify comment for m->locked

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/11671043
HG=17350:86a2e482982f

17349. By Mikio Hara <email address hidden>

net: remove unnecessary bit masking

R=dave
CC=golang-dev
https://codereview.appspot.com/11537044
HG=17349:5c948e69f885

17348. By Andrew Gerrand <email address hidden>

[release-branch.go1.1] time: prevent a panic from leaving the timer mutex held

««« CL 10373047 / 974a69ed9fcf
time: prevent a panic from leaving the timer mutex held

When deleting a timer, a panic due to nil deref
would leave a lock held, possibly leading to a deadlock
in a defer. Instead return false on a nil timer.

Fixes issue 5745.

R=golang-dev, daniel.morsing, dvyukov, rsc, iant
CC=golang-dev
https://codereview.appspot.com/10373047

Committer: Russ Cox <email address hidden>
»»»

Update issue 5928

R=golang-dev, dave
CC=golang-dev
https://codereview.appspot.com/11666046
HG=17348:2de1a6879076

17347. By Andrew Gerrand <email address hidden>

[release-branch.go1.1] cmd/gc: fix missing export data for inlining in a few other cases.

««« CL 10464043 / c224c549a3c7
cmd/gc: fix missing export data for inlining in a few other cases.

Exported inlined functions that perform a string conversion
using a non-exported named type may miss it in export data.

Fixes issue 5755.

R=rsc, golang-dev, ality, r
CC=golang-dev
https://codereview.appspot.com/10464043
»»»

Update issue 5928

R=golang-dev, dave
CC=golang-dev
https://codereview.appspot.com/11629044
HG=17347:7f7bdef7fc85

17346. By Andrew Gerrand <email address hidden>

[release-branch.go1.1] cmd/gc: fix pointer composite literals in exported if statements.

««« CL 10470043 / d04e6b0bcacf
cmd/gc: fix pointer composite literals in exported if statements.

Fixes issue 4230 (again).

R=rsc, golang-dev, r
CC=golang-dev
https://codereview.appspot.com/10470043
»»»

Update issue 5928

R=golang-dev, dave
CC=golang-dev
https://codereview.appspot.com/11455045
HG=17346:31a32150a72b

17345. By Alex Brainman <email address hidden>

net: implement netpoll for windows

Moves the network poller from net package into runtime.

benchmark old ns/op new ns/op delta
BenchmarkTCP4OneShot 316386 287061 -9.27%
BenchmarkTCP4OneShot-2 339822 313424 -7.77%
BenchmarkTCP4OneShot-3 330057 306589 -7.11%
BenchmarkTCP4OneShotTimeout 341775 287061 -16.01%
BenchmarkTCP4OneShotTimeout-2 380835 295849 -22.32%
BenchmarkTCP4OneShotTimeout-3 398412 328070 -17.66%
BenchmarkTCP4Persistent 40622 33392 -17.80%
BenchmarkTCP4Persistent-2 44528 35736 -19.74%
BenchmarkTCP4Persistent-3 44919 36907 -17.84%
BenchmarkTCP4PersistentTimeout 45309 33588 -25.87%
BenchmarkTCP4PersistentTimeout-2 50289 38079 -24.28%
BenchmarkTCP4PersistentTimeout-3 51559 37103 -28.04%
BenchmarkTCP6OneShot 361305 345645 -4.33%
BenchmarkTCP6OneShot-2 361305 331976 -8.12%
BenchmarkTCP6OneShot-3 376929 347598 -7.78%
BenchmarkTCP6OneShotTimeout 361305 322212 -10.82%
BenchmarkTCP6OneShotTimeout-2 378882 333928 -11.86%
BenchmarkTCP6OneShotTimeout-3 388647 335881 -13.58%
BenchmarkTCP6Persistent 47653 35345 -25.83%
BenchmarkTCP6Persistent-2 49215 35736 -27.39%
BenchmarkTCP6Persistent-3 38474 37493 -2.55%
BenchmarkTCP6PersistentTimeout 56637 34369 -39.32%
BenchmarkTCP6PersistentTimeout-2 42575 38079 -10.56%
BenchmarkTCP6PersistentTimeout-3 44137 37689 -14.61%

R=dvyukov
CC=golang-dev
https://codereview.appspot.com/8670044
HG=17345:e6a6dc0d9c22

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers