35 lines
405 B
Text
35 lines
405 B
Text
Go Runtime Internals
|
|
|
|
Короткий Фёдор
|
|
|
|
* Go runtime
|
|
|
|
- Compiler
|
|
- GC
|
|
- Scheduler
|
|
|
|
* Compiler
|
|
|
|
- Inlining
|
|
- Escape Analysis `-m=1` `-m=2`
|
|
- Bound Check Elimination
|
|
- Call ABI
|
|
- ASM
|
|
|
|
* GC
|
|
|
|
- Finalizer
|
|
- Knobs
|
|
- sync.Pool
|
|
- STW
|
|
- Mark Assist
|
|
- Stack Growth
|
|
- Write Barrier
|
|
|
|
* Scheduler
|
|
|
|
- G, M, P model
|
|
- Global Run Queue, Local Run Queue
|
|
- Knobs
|
|
- Runaway threads problem
|
|
- runtime.LockOsThread
|