Checkin runtime lecture

This commit is contained in:
Fedor Korotkiy 2021-02-18 12:45:14 +03:00
parent e47843ed39
commit f9f60e3656
3 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1 @@
bt

View file

@ -0,0 +1,12 @@
package main
import (
"fmt"
"os"
"time"
)
func main() {
fmt.Println(os.Getpid())
time.Sleep(time.Hour)
}

View file

@ -0,0 +1,34 @@
low-level
Лекция 9
Короткий Фёдор
* Go runtime
- Compiler
- GC
- Scheduler
* Compiler
- Inlining
- Escape Analysis
- Bound Check Elimination
* GC
- STW
- Mark Assist
- Knobs
- Finalizer
- sync.Pool
- Stack Growth
- Write Barrier
* Scheduler
- G, M, P model
- Global Run Queue, Local Run Queue
- Knobs
- Runaway threads problem
- runtime.LockOsThread