Tri-Color GC Steps:
The garbage collector assigns objects to three sets:
black, grey, and white.
https://making.pusher.com/golangs-real-time-gc-in-theory-and-practice/
Concurrent GC can yield lower latencies for large heap sizes, which better then a stop-the-world collector.
Reference:
Go 1.5 concurrent garbage collector pacing - Austin Clements
Proposal: Eliminate STW stack re-scanning - Austin Clements
Golang’s Real-time GC in Theory and Practice
The garbage collector assigns objects to three sets:
black, grey, and white.
https://making.pusher.com/golangs-real-time-gc-in-theory-and-practice/
Concurrent GC can yield lower latencies for large heap sizes, which better then a stop-the-world collector.
- One of the costs is reduced throughput.
- Obviously, concurrency requires extra work for synchronization and duplication.
- Another cost of concurrent GC is unpredictable heap growth.
Reference:
Go 1.5 concurrent garbage collector pacing - Austin Clements
Proposal: Eliminate STW stack re-scanning - Austin Clements
Golang’s Real-time GC in Theory and Practice
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.