shad-go/lectures/10-runtime/lecture.slide

36 lines
405 B
Text
Raw Normal View History

2021-04-22 12:24:40 +00:00
Go Runtime Internals
2021-02-18 09:45:14 +00:00
Короткий Фёдор
* Go runtime
- Compiler
- GC
- Scheduler
* Compiler
- Inlining
2021-04-22 12:24:40 +00:00
- Escape Analysis `-m=1` `-m=2`
2021-02-18 09:45:14 +00:00
- Bound Check Elimination
2021-04-22 12:24:40 +00:00
- Call ABI
- ASM
2021-02-18 09:45:14 +00:00
* GC
- Finalizer
2021-04-22 12:24:40 +00:00
- Knobs
2021-02-18 09:45:14 +00:00
- sync.Pool
2021-04-22 12:24:40 +00:00
- STW
- Mark Assist
2021-02-18 09:45:14 +00:00
- Stack Growth
- Write Barrier
* Scheduler
- G, M, P model
- Global Run Queue, Local Run Queue
- Knobs
- Runaway threads problem
- runtime.LockOsThread