<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.11.1</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.11.1</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.11.1'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2018-10-01T20:59:20Z</updated>
<entry>
<title>[release-branch.go1.11] go1.11.1</title>
<updated>2018-10-01T20:59:20Z</updated>
<author>
<name>Katie Hockman</name>
<email>katie@golang.org</email>
</author>
<published>2018-10-01T20:40:42Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=26957168c4c0cdcc7ca4f0b19d0eb19474d224ac'/>
<id>urn:sha1:26957168c4c0cdcc7ca4f0b19d0eb19474d224ac</id>
<content type='text'>
Change-Id: I3cf3e57b11ad02b497276bae1864fc5ade8144b9
Reviewed-on: https://go-review.googlesource.com/138860
Run-TryBot: Katie Hockman &lt;katie@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.11] doc: document Go 1.11.1</title>
<updated>2018-10-01T20:40:15Z</updated>
<author>
<name>Katie Hockman</name>
<email>katie@golang.org</email>
</author>
<published>2018-10-01T20:08:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=52c4bdb65d49be0b8f04a27f228a8611fd57ca3c'/>
<id>urn:sha1:52c4bdb65d49be0b8f04a27f228a8611fd57ca3c</id>
<content type='text'>
Updates #27953

Change-Id: I2f1a55e15dc5737a5a06bd894c46b2c4705f338c
Reviewed-on: https://go-review.googlesource.com/138858
Reviewed-by: Filippo Valsorda &lt;filippo@golang.org&gt;
(cherry picked from commit f99fc3a119dbb98fa9dddcb2e31a6c51925fde77)
Reviewed-on: https://go-review.googlesource.com/138859
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.11] encoding/json: fix UnmarshalTypeError without field and struct values</title>
<updated>2018-10-01T19:38:15Z</updated>
<author>
<name>Taesu Pyo</name>
<email>pyotaesu@gmail.com</email>
</author>
<published>2018-08-28T15:56:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=92ae524bc5b62ef8e505a95d65f74ca9a7cb335a'/>
<id>urn:sha1:92ae524bc5b62ef8e505a95d65f74ca9a7cb335a</id>
<content type='text'>
Updates #26444
Updates #27275
Fixes #27318

Change-Id: I9e8cbff79f7643ca8964c572c1a98172b6831730
GitHub-Last-Rev: 7eea2158b67ccab34b45a21e8f4289c36de02d93
GitHub-Pull-Request: golang/go#26719
Reviewed-on: https://go-review.googlesource.com/126897
Reviewed-by: Daniel Martí &lt;mvdan@mvdan.cc&gt;
Run-TryBot: Daniel Martí &lt;mvdan@mvdan.cc&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-on: https://go-review.googlesource.com/138178
Run-TryBot: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.11] net: concatenate multiple TXT strings in single TXT record</title>
<updated>2018-10-01T19:37:00Z</updated>
<author>
<name>Matthew Waters</name>
<email>mwwaters@gmail.com</email>
</author>
<published>2018-09-24T10:08:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=307f8b5a6d21ff6b00f1a09589e1e366450c7509'/>
<id>urn:sha1:307f8b5a6d21ff6b00f1a09589e1e366450c7509</id>
<content type='text'>
When go resolver was changed to use dnsmessage.Parser, LookupTXT
returned two strings in one record as two different records. This change
reverts back to concatenating multiple strings in a single
TXT record.

Updates #27763
Fixes #27886

Change-Id: Ice226fcb2be4be58853de34ed35b4627acb429ea
Reviewed-on: https://go-review.googlesource.com/136955
Reviewed-by: Ian Gudger &lt;igudger@google.com&gt;
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
Run-TryBot: Ian Gudger &lt;igudger@google.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
(cherry picked from commit 7b3b160323b56b357832549fbab7a60d27688ec1)
Reviewed-on: https://go-review.googlesource.com/138177
Run-TryBot: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
Reviewed-by: Katie Hockman &lt;katie@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.11] reflect: fix s390x reflect method calls</title>
<updated>2018-10-01T19:18:24Z</updated>
<author>
<name>Keith Randall</name>
<email>keithr@alum.mit.edu</email>
</author>
<published>2018-09-30T16:04:17Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=58c9bd9bfbedda966d2ae687f3e23f67ec889bc4'/>
<id>urn:sha1:58c9bd9bfbedda966d2ae687f3e23f67ec889bc4</id>
<content type='text'>
R0 isn't the zero register any more. Oops.

Update #27867

Change-Id: I46a975ed37d5e570afe2e228d3edf74949e08ad7
Reviewed-on: https://go-review.googlesource.com/138580
Reviewed-by: Michael Munday &lt;mike.munday@ibm.com&gt;
Reviewed-on: https://go-review.googlesource.com/138583
Run-TryBot: Keith Randall &lt;khr@golang.org&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
Run-TryBot: Michael Munday &lt;mike.munday@ibm.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.11] reflect: ensure correct scanning of return values</title>
<updated>2018-10-01T19:16:44Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@google.com</email>
</author>
<published>2018-09-25T22:54:11Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=3afa9dfa9b00c17c8ad0e42b220ec37329631f2c'/>
<id>urn:sha1:3afa9dfa9b00c17c8ad0e42b220ec37329631f2c</id>
<content type='text'>
During a call to a reflect-generated function or method (via
makeFuncStub or methodValueCall), when should we scan the return
values?

When we're starting a reflect call, the space on the stack for the
return values is not initialized yet, as it contains whatever junk was
on the stack of the caller at the time. The return space must not be
scanned during a GC.

When we're finishing a reflect call, the return values are
initialized, and must be scanned during a GC to make sure that any
pointers in the return values are found and their referents retained.

When the GC stack walk comes across a reflect call in progress on the
stack, it needs to know whether to scan the results or not. It doesn't
know the progress of the reflect call, so it can't decide by
itself. The reflect package needs to tell it.

This CL adds another slot in the frame of makeFuncStub and
methodValueCall so we can put a boolean in there which tells the
runtime whether to scan the results or not.

This CL also adds the args length to reflectMethodValue so the
runtime can restrict its scanning to only the args section (not the
results) if the reflect package says the results aren't ready yet.

Do a delicate dance in the reflect package to set the "results are
valid" bit. We need to make sure we set the bit only after we've
copied the results back to the stack. But we must set the bit before
we drop reflect's copy of the results. Otherwise, we might have a
state where (temporarily) no one has a live copy of the results.
That's the state we were observing in issue #27695 before this CL.

The bitmap used by the runtime currently contains only the args.
(Actually, it contains all the bits, but the size is set so we use
only the args portion.) This is safe for early in a reflect call, but
unsafe late in a reflect call. The test issue27695.go demonstrates
this unsafety. We change the bitmap to always include both args
and results, and decide at runtime which portion to use.

issue27695.go only has a test for method calls. Function calls were ok
because there wasn't a safepoint between when reflect dropped its copy
of the return values and when the caller is resumed. This may change
when we introduce safepoints everywhere.

This truncate-to-only-the-args was part of CL 9888 (in 2015). That
part of the CL fixed the problem demonstrated in issue27695b.go but
introduced the problem demonstrated in issue27695.go.

TODO, in another CL: simplify FuncLayout and its test. stack return
value is now identical to frametype.ptrdata + frametype.gcdata.

Update #27867

Change-Id: I2d49b34e34a82c6328b34f02610587a291b25c5f
Reviewed-on: https://go-review.googlesource.com/137440
Run-TryBot: Keith Randall &lt;khr@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Austin Clements &lt;austin@google.com&gt;
Reviewed-on: https://go-review.googlesource.com/138582
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.11] reflect: use correct write barrier operations for method funcs</title>
<updated>2018-10-01T19:16:37Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@google.com</email>
</author>
<published>2018-09-25T21:32:44Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=a2f1c8e2ad723589eed8f01056e29f6156869e53'/>
<id>urn:sha1:a2f1c8e2ad723589eed8f01056e29f6156869e53</id>
<content type='text'>
Fix the code to use write barriers on heap memory, and no
write barriers on stack memory.

These errors were discovered as part of fixing #27695. They may
have something to do with that issue, but hard to be sure.
The core cause is different, so this fix is a separate CL.

Update #27867

Change-Id: Ib005f6b3308de340be83c3d07d049d5e316b1e3c
Reviewed-on: https://go-review.googlesource.com/137438
Reviewed-by: Austin Clements &lt;austin@google.com&gt;
(cherry picked from commit e35a41261b19589f40d32bd66274c23ab4b9b32e)
Reviewed-on: https://go-review.googlesource.com/138581
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.11] doc: add go1.11 to contrib.html</title>
<updated>2018-09-28T13:23:38Z</updated>
<author>
<name>Chris Broadfoot</name>
<email>cbro@golang.org</email>
</author>
<published>2018-09-28T09:02:22Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=34e5a852e0c7cf721fda53cd007802e8d1b7bb8c'/>
<id>urn:sha1:34e5a852e0c7cf721fda53cd007802e8d1b7bb8c</id>
<content type='text'>
Missing from https://golang.org/project

Change-Id: I6cb769ae861a81f0264bae624b5fe8d70aa92497
Reviewed-on: https://go-review.googlesource.com/138356
Reviewed-by: Chris Broadfoot &lt;cbro@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.11] cmd/go: add GOMIPS value to build id for mipsle</title>
<updated>2018-09-27T22:04:44Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2018-08-27T03:38:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=7544ac632ff5a3272c09ae81042c18e5df60f434'/>
<id>urn:sha1:7544ac632ff5a3272c09ae81042c18e5df60f434</id>
<content type='text'>
Strip a trailing "le" from the GOARCH value when calculating the GOxxx
environment variable that affects it.

Updates #27260
Fixes #27420

Change-Id: I081f30d5dc19281901551823f4f56be028b5f71a
Reviewed-on: https://go-review.googlesource.com/131379
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
(cherry picked from commit 61318d7ffe8a49e9dedc5aa8195a164a3821465c)
Reviewed-on: https://go-review.googlesource.com/138176
Run-TryBot: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.11] net: fail fast for DNS rcode success with no answers of requested type</title>
<updated>2018-09-27T21:41:40Z</updated>
<author>
<name>Ian Gudger</name>
<email>igudger@google.com</email>
</author>
<published>2018-09-06T06:53:36Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=05a0c7b4c60e240e521b0840c786cacd69221e68'/>
<id>urn:sha1:05a0c7b4c60e240e521b0840c786cacd69221e68</id>
<content type='text'>
DNS responses which do not contain answers of the requested type return
errNoSuchHost, the same error as rcode name error. Prior to
golang.org/cl/37879, both cases resulted in no additional name servers
being consulted for the question. That CL changed the behavior for both
cases. Issue #25336 was filed about the rcode name error case and
golang.org/cl/113815 fixed it. This CL fixes the no answers of requested
type case as well.

Updates #27525
Fixes #27537

Change-Id: I52fadedcd195f16adf62646b76bea2ab3b15d117
Reviewed-on: https://go-review.googlesource.com/133675
Run-TryBot: Ian Gudger &lt;igudger@google.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
(cherry picked from commit 94f48ddb96c4dfc919ae024f64df19d764f5fb5b)
Reviewed-on: https://go-review.googlesource.com/138175
Run-TryBot: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
</content>
</entry>
</feed>
