Pro .NET Memory Management: For Better Code, Performance, and Scalability
- 15h 7m
- Konrad Kokosa
- Apress
- 2018
Understand .NET memory management internal workings, pitfalls, and techniques in order to effectively avoid a wide range of performance and scalability problems in your software. Despite automatic memory management in .NET, there are many advantages to be found in understanding how .NET memory works and how you can best write software that interacts with it efficiently and effectively. Pro .NET Memory Management is your comprehensive guide to writing better software by understanding and working with memory management in .NET.
Thoroughly vetted by the .NET Team at Microsoft, this book contains 25 valuable troubleshooting scenarios designed to help diagnose challenging memory problems. Readers will also benefit from a multitude of .NET memory management “rules” to live by that introduce methods for writing memory-aware code and the means for avoiding common, destructive pitfalls.
What You'll Learn
- Understand the theoretical underpinnings of automatic memory management
- Take a deep dive into every aspect of .NET memory management, including detailed coverage of garbage collection (GC) implementation, that would otherwise take years of experience to acquire
- Get practical advice on how this knowledge can be applied in real-world software development
- Use practical knowledge of tools related to .NET memory management to diagnose various memory-related issuesExplore various aspects of advanced memory management, including use of Span and Memory types
Who This Book Is For
.NET developers, solution architects, and performance engineers
About the Author
Konrad Kokosa is an experienced software designer and developer with a specific interest in Microsoft technologies, while looking with curiosity at everything else. He has been programming for over a dozen years, solving performance problems and architectural puzzles in the .NET world, and designing and speeding up .NET applications. He is an independent consultant, blogger, meetup and conference speaker, and fan of Twitter (@konradkokosa). He also shares his passion as a trainer in the area of .NET, especially regarding application performance, coding good practices, and diagnostics. He is a Microsoft MVP in the Visual Studio and Development Tools category. He is co-founder of the Dotnetos.org initiative of three .NET fans organizing tours and conferences about .NET performance.
In this Book
-
Basic Concepts
-
Low-Level Memory Management
-
Memory Measurements
-
.NET Fundamentals
-
Memory Partitioning
-
Memory Allocation
-
Garbage Collection - Introduction
-
Garbage Collection - Mark Phase
-
Garbage Collection - Plan Phase
-
Garbage Collection - Sweep and Compact
-
GC Flavors
-
Object Lifetime
-
Miscellaneous Topics
-
Advanced Techniques
-
Programmatical APIs