Memory Graph Debugger

preview_player
Показать описание
Some debugging techniques

- Thread Sanitizer that is also known as TSan, is an LLVM based tool to audit threading issues in Swift and C language
- Thread Sanitizer helped us to solved flaky tests and weird crashes so we can improve our code with the Thread Sanitizer
- Data races occur when the same memory is accessed from multiple threads without synchronization and at least one access is a write. Data Races can lead to several issues:

⁃ Unpredictable behavior
⁃ Memory corruption
⁃ Flaky tests
⁃ Weird crashes

- A memory leak is a portion of memory that is occupied forever and never used again. It is garbage that takes space and causes problems.

Рекомендации по теме
Комментарии
Автор

Thanks to the author for recording the video, it made me learn a lot

delicioustime