DSA Studio
Search
Home
Sign in
Runtime Internals Checkpoint
Stack growth, scheduler behavior, and escape analysis implications.
1. When does a goroutine stack typically grow in Go?
At every function call
When call depth or local usage exceeds current stack
At process shutdown only
Only during GC
2. What does `go build -gcflags=-m` primarily report?
Scheduler trace events
Escape analysis and inlining-related decisions
CPU frequency scaling
Network packet size
3. How should you treat `sync.Pool` for correctness-sensitive caching?
As a hard cache for all objects
As an optional weak cache that may drop entries any time
As guaranteed FIFO buffer
As thread-local storage
Submit quiz
Auto-advance on pass
Join Discord
×