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

runtime: clean up async preemption loose ends #36365

Open
aclements opened this issue Jan 2, 2020 · 0 comments
Open

runtime: clean up async preemption loose ends #36365

aclements opened this issue Jan 2, 2020 · 0 comments
Labels
Milestone

Comments

@aclements
Copy link
Member

@aclements aclements commented Jan 2, 2020

Go 1.14 introduces asynchronous preemption so that tight loops can be preempted (#10958). However, there are still several loose ends to tie up. This is a general bug to keep track of remaining work:

  • Support on all possible platforms (js/wasm is not currently possible)
  • Redo unsafe-point representation so we can eliminate register maps
  • Remove register maps and extra stack maps (after redesigning debug call injection)
  • Possibly incorporate @cherrymui's sequence restarting (CL 208126)
  • Make large pointer-free memmoves/memclrs preemptible (#31222)
  • Make large pointer-full memmoves/memclrs preemptible (this is a little harder)
  • Fix various annoying spins in the scheduler
  • Make more of the runtime preemptible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.