images\purify_sml.gifimages\quantify_sml.gifimages\coverage_sml.gifmanaged code

Program code that has been compiled to the Microsoft Intermediate Language (MSIL), which is a CPU-independent instruction set designed to run on Microsoft's .NET platform. Prior to execution, MSIL is converted to native machine code by the .NET Common Language Runtime (CLR). Managed programs are also referred to as .NET programs.

Programs that have been fully compiled to the native instructions of the CPU are referred to as unmanaged.

All C# and Visual Basic .NET programs are managed by default. Visual C/C++ programs can be compiled to managed code by using the Managed Extensions for C++ provided in Visual Studio. ASPX is another kind of managed code, and AspNetMon is a tool that enables the profiling mode and specifies what profiling agent should be attached to the managed code running in the scope of the ASPX page.

Rational Runtime Analysis tools use Byte Code Insertion (BCI) technology to instrument managed code assemblies and executables dynamically in memory. The instrumented files are not saved in a cache directory, and are not reused.

See also native code in the glossary.

(C) Copyright IBM Corporation 1992, 2010.