GAC
assembly cache, 178
gacutil.exe, placing assemblies in assembly
cache using, 179
gacutil.exe
assembly cache, placing assemblies in, 186
delay-signing an assembly, 512
garbage collector, 211
.NET Framework, 241
advantages, 241
compared to developer-controlled memory
management, 242
compared to reference counting, 206
control of threads by garbage collector, 212
disadvantages, 210
does not support deterministic finalization, 210
exact collection algorithms, 206
finalization queue, 216
freachable queue, 216
generations, 215
handling cyclic references, 210
identifying garbage, 213
roots, 213
invoking garbage collector, 212
managed heap, 211
compacting heap, 213
large object managed heap, 211
small object managed heap, 211
mark phase, 214
performance issues, 241
pinned objects, performance issues, 210
programmatic control, 217
GC class, 218
reasons for using, 206
safe points, 123
supplementing with IDisposable interface, 210
sweep phase, 214
weak references, 230
GC class, 218
Collect() method, 233
GetTotalMemory() method, 218
MaxGeneration property, 218
programmatic control of garbage collector, 218
ReRegisterForFinalize() method, 219
SuppressFinalize() method, 224
GCHandle class
Alloc() method, 154
definition, 152
Free() method, 154
GCHandle to IntrPtr type conversion, 154
op_Explicit() method, 154
Target property, 154
GCHandle to IntrPtr type conversion
GCHandle class, 154
GDI, 450
BitBlt() function, 450
compared to GDI+, 447
blitting, 447
performance, 448
CreateCompatibleBitmap() function, 450
CreateCompatibleDC() function, 450
DeleteObject() function, 450
example of blitting, 448
graphics, 447
handles, 450
SelectObject() function, 450
GDI+, 447
compared to GDI, 447
blitting, 447
performance, 448
graphics, 447
System.Drawing, 447
unmanaged API, 447
GenerateCodeFromCompileUnit method
ICodeGenerator interface, 331
generation 0 objects
garbage collector, 214
generation 1 objects
garbage collector, 214
generation 2 objects
garbage collector, 215
generations
garbage collector, 214
generation 0 objects, 214
generation 1 objects, 214
generation 2 objects, 215
Get() method
ManagementObject class, 407
ManagementObjectSearcher class, 407
GetAvallableThreads() method
ThreadPool class, 340
GetCurrentThreadld() method
AppDomain class, 343
GetExecutlngAssembly() method
Assembly Class, 175
GetGenerator method
MethodBuilder class, 314
GetHashCode() method
Thread class, 343
GetHdc() method
Graphics class, 451
GetInstances() method
ManagementClass class, 407
ManagementOperationObserv er class, 407
PerformanceCounterCategory class, 292
GetIssuerName() method
X509Certificate class, 524
GetMaxThreads() method
ThreadPool class, 340
GetMessage() API call
message loop, 419
GetMethod() method
TypeBuilder class, 317
GetName() method
X509Certificate class, 524
GetObject() method
ResourceManager class, 189
GetPublicKeyString() method
X509Certificate class, 524
GetString() method
ResourceManager class, 195
GetTotalMemory() method
GC class, 218
Global Assembly Cache shell extension
assembly cache, 178
disadvantage, 178
Global Assembly Cache, see GAC.
GlobalSign
certification authorities, 514
graphics
GDI, 448
blitting, 447
GDI+, 447
Windows Forms, 447
Graphics class
GetHdc() method, 451
System.Drawing, 451
GraphicsPath class
AddArc() method, 440
AddLine() method, 440
implementing circular Windows Form, 440
System.Drawing.Drawing2 D, 440
guarded blocks
IL exception handling, 98