Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upruntime: simplify mark termination and eliminate mark 2 #26903
Comments
aclements
added this to the Go1.12 milestone
Aug 9, 2018
aclements
self-assigned this
Aug 9, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
gopherbot
Aug 9, 2018
Change https://golang.org/cl/128896 mentions this issue: design: simplify mark termination and eliminate mark 2
gopherbot
commented
Aug 9, 2018
|
Change https://golang.org/cl/128896 mentions this issue: |
bcmills
added
the
NeedsInvestigation
label
Aug 10, 2018
pushed a commit
to golang/proposal
that referenced
this issue
Sep 8, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
gopherbot
Sep 10, 2018
Change https://golang.org/cl/134319 mentions this issue: runtime: eliminate gcBlackenPromptly mode
gopherbot
commented
Sep 10, 2018
|
Change https://golang.org/cl/134319 mentions this issue: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
gopherbot
Sep 10, 2018
Change https://golang.org/cl/134317 mentions this issue: runtime: track whether any buffer has been flushed from gcWork
gopherbot
commented
Sep 10, 2018
|
Change https://golang.org/cl/134317 mentions this issue: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
gopherbot
Sep 10, 2018
Change https://golang.org/cl/134316 mentions this issue: runtime: remove GODEBUG=gctrace=2 mode
gopherbot
commented
Sep 10, 2018
|
Change https://golang.org/cl/134316 mentions this issue: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
gopherbot
Sep 10, 2018
Change https://golang.org/cl/134320 mentions this issue: runtime: don't disable GC work caching during mark termination
gopherbot
commented
Sep 10, 2018
|
Change https://golang.org/cl/134320 mentions this issue: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
gopherbot
Sep 10, 2018
Change https://golang.org/cl/134315 mentions this issue: runtime: flush write barrier buffer to create work
gopherbot
commented
Sep 10, 2018
|
Change https://golang.org/cl/134315 mentions this issue: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
gopherbot
Sep 10, 2018
Change https://golang.org/cl/134318 mentions this issue: runtime: eliminate mark 2 and fix mark termination race
gopherbot
commented
Sep 10, 2018
|
Change https://golang.org/cl/134318 mentions this issue: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
gopherbot
Sep 11, 2018
Change https://golang.org/cl/134778 mentions this issue: runtime: add a more stable isSystemGoroutine mode
gopherbot
commented
Sep 11, 2018
|
Change https://golang.org/cl/134778 mentions this issue: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
gopherbot
Sep 11, 2018
Change https://golang.org/cl/134784 mentions this issue: runtime: eliminate work.markrootdone and second root marking pass
gopherbot
commented
Sep 11, 2018
|
Change https://golang.org/cl/134784 mentions this issue: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
gopherbot
Sep 11, 2018
Change https://golang.org/cl/134779 mentions this issue: runtime: support disabling goroutine scheduling by class
gopherbot
commented
Sep 11, 2018
|
Change https://golang.org/cl/134779 mentions this issue: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
gopherbot
Sep 11, 2018
Change https://golang.org/cl/134780 mentions this issue: runtime: implement STW GC in terms of concurrent GC
gopherbot
commented
Sep 11, 2018
|
Change https://golang.org/cl/134780 mentions this issue: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
gopherbot
Sep 11, 2018
Change https://golang.org/cl/134776 mentions this issue: runtime: avoid using STW GC mechanism for checkmarks mode
gopherbot
commented
Sep 11, 2018
|
Change https://golang.org/cl/134776 mentions this issue: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
gopherbot
Sep 11, 2018
Change https://golang.org/cl/134783 mentions this issue: runtime: flush mcaches lazily
gopherbot
commented
Sep 11, 2018
|
Change https://golang.org/cl/134783 mentions this issue: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
gopherbot
Sep 11, 2018
Change https://golang.org/cl/134785 mentions this issue: runtime: eliminate gchelper mechanism
gopherbot
commented
Sep 11, 2018
|
Change https://golang.org/cl/134785 mentions this issue: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
gopherbot
Sep 11, 2018
Change https://golang.org/cl/134782 mentions this issue: runtime: eliminate blocking GC work drains
gopherbot
commented
Sep 11, 2018
|
Change https://golang.org/cl/134782 mentions this issue: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
gopherbot
Sep 11, 2018
Change https://golang.org/cl/134781 mentions this issue: runtime: clean up remaining mark work check
gopherbot
commented
Sep 11, 2018
|
Change https://golang.org/cl/134781 mentions this issue: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
gopherbot
Sep 11, 2018
Change https://golang.org/cl/134775 mentions this issue: runtime: remove gcStart's mode argument
gopherbot
commented
Sep 11, 2018
|
Change https://golang.org/cl/134775 mentions this issue: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
gopherbot
Sep 11, 2018
Change https://golang.org/cl/134777 mentions this issue: runtime: remove GODEBUG=gcrescanstacks=1 mode
gopherbot
commented
Sep 11, 2018
|
Change https://golang.org/cl/134777 mentions this issue: |
aclements commentedAug 9, 2018
•
edited
The garbage collector currently uses a racy and complex algorithm to enter mark termination, which has wide-ranging consequences for the complexity of the mark termination implementation. I propose replacing it with a race-free distributed termination detection-like algorithm. This should open the door to several significant simplifications of the garbage collector algorithm.
The design doc can be viewed here.
/cc @RLH