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

Comments

@gopherbot
Copy link

@gopherbot gopherbot commented Sep 21, 2020

@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.

@mdempsky
Copy link
Member

@mdempsky mdempsky commented Sep 21, 2020

Bad bot.

Loading

@mdempsky mdempsky closed this Sep 21, 2020
@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.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants