Skip to Content
.NET Common Language Runtime Unleashed
book

.NET Common Language Runtime Unleashed

by Kevin Burton
April 2002
Intermediate to advanced content levelIntermediate to advanced
1024 pages
23h 26m
English
Sams
Content preview from .NET Common Language Runtime Unleashed

Summary

This chapter explored the general architecture of CLR memory management. It discussed what the CLR does to efficiently manage your memory allocations so that you do not have to. This chapter also showed that, in many cases, a garbage collection scheme outperforms what is traditionally used for memory allocation and memory management with unmanaged code. It uncovered the details of what looks like a C++ destructor and explained that managed code has no destructors. You discovered an alternative to destructors, using the IDisposable interface, that allows your code to deterministically finalize your object in an efficient manor with safeguards built in for misuse of your object. You also learned about some optimizations that the runtime ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Customizing the Microsoft® .NET Framework Common Language Runtime

Customizing the Microsoft® .NET Framework Common Language Runtime

Steven Pratschner

Publisher Resources

ISBN: 0672321246Purchase book