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
|
2024-06-05 17:36:34 +00:00
|
|
|
- Knobs `GOGC`
|
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
|
|
|
- Write Barrier
|
2024-06-05 17:36:34 +00:00
|
|
|
- Stack Growth
|
2021-02-18 09:45:14 +00:00
|
|
|
|
|
|
|
* Scheduler
|
|
|
|
|
|
|
|
- G, M, P model
|
|
|
|
- Global Run Queue, Local Run Queue
|
2024-06-05 17:36:34 +00:00
|
|
|
- Knobs `GOMAXPROCS`
|
|
|
|
- cgo & system call
|
2021-02-18 09:45:14 +00:00
|
|
|
- runtime.LockOsThread
|
2024-06-05 17:36:34 +00:00
|
|
|
|
|
|
|
* runtime
|
|
|
|
|
|
|
|
- stacktraces
|
|
|
|
- mem stats
|
|
|
|
- runtime/debug
|
|
|
|
- gc stats
|
|
|
|
|
|
|
|
* Tools
|
|
|
|
|
|
|
|
- delve
|
|
|
|
- gdb
|
|
|
|
- runtime/pprof
|
|
|
|
- net/http/pprof
|