An Introduction to Go Tool Trace

An Introduction to Go Tool Trace

Gopher Academy via YouTube Direct link

The GC is still improving

16 of 22

16 of 22

The GC is still improving

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

An Introduction to Go Tool Trace

Automatically move to the next video in the Classroom when playback concludes

  1. 1 go tool trace for correct and effective concurrency
  2. 2 A special tool for Go's needs
  3. 3 goroutine scheduling instrumented
  4. 4 Concurrency, and how to manage it
  5. 5 Parallelism, and how to exploit it
  6. 6 A timing-dependent bug
  7. 7 #1: A race condition
  8. 8 go test -race go build -race go install -race
  9. 9 a logical race, not a data race
  10. 10 View trace
  11. 11 Sync blocking profile
  12. 12 Goroutine analysis
  13. 13 It's not a panacea
  14. 14 1. Testing with -trace flag
  15. 15 and large (40GB) heap
  16. 16 The GC is still improving
  17. 17 Go 1.1: GC uses parallel threads
  18. 18 #3A: Stop-The-World pauses
  19. 19 The Go 1.10 compiler should have a general, permanent fix
  20. 20 #3B: Other awkward pauses
  21. 21 User code works against that
  22. 22 Be prepared: practice using the tools

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.