Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/compile: 1.15 heap allocations regression when calling Write on os.Stdout [1.14 backport] #41542

Closed
gopherbot opened this issue Sep 21, 2020 · 1 comment
Labels
CherryPickCandidate Used during the release process for point releases FrozenDueToAge
Milestone

Comments

@gopherbot
Copy link

@ianlancetaylor requested issue #41474 to be considered for backport to the next 1.14 minor release.

@gopherbot Please open a backport issue for 1.15.

This is an unexpected and unavoidable performance regression in 1.15: using Write to write a []byte forces the []byte to escape into the heap. That did not happen in 1.14.

@gopherbot gopherbot added the CherryPickCandidate Used during the release process for point releases label Sep 21, 2020
@gopherbot gopherbot added this to the Go1.14.10 milestone Sep 21, 2020
@mdempsky
Copy link
Member

Bad bot.

@golang golang locked and limited conversation to collaborators Sep 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CherryPickCandidate Used during the release process for point releases FrozenDueToAge
Projects
None yet
Development

No branches or pull requests

2 participants