Runtime Internals Checkpoint

Stack growth, scheduler behavior, and escape analysis implications.


Get every question correct to pass this checkpoint. You can review feedback, revise your answers, and submit again.

1. A service stores the only copy of required business state in sync.Pool. After GC a Get returns nil. What design assumption failed?

Select one answer.

2. Returning a pointer to a local variable is correct Go, but a benchmark now allocates. What evidence should you inspect before changing the API?

Select one answer.

3. A recursive hot path slows at greater depth without a correctness failure. Which explanation is plausible enough to measure?

Select one answer.

4. A cache changes from holding 20-byte views of 4 MiB request buffers to owning 20-byte copies. Allocation count rises. What should be measured before rejecting the change?

Select one answer.

Join Discord