J


JIT Activation

See Just-in-Time Activation

Just-in-Time Activation (JIT Activation)

Server resources are always scarce, so good resource management techniques are essential. The latest component resource management techniques normally include gaining access to resources only when needed, then releasing them immediately. However, older components were designed to gain access to all of the resources required to perform a task early, then hold onto those resources until no longer needed. Using JIT activation means that even if a client holds onto a component reference, Windows can still use physical resources required by that component until they’re needed again by the application. Windows monitors all of the components that are marked as JIT enabled. When a certain time period has elapsed without any method calls, the component deactivates, and the resources that it’s using are returned to the resource pool. As far as the application is concerned, the component is still active and the reference to it is still valid. The next time the application makes a method call to the deactivated component, Windows reactivates it and allocates the resources that it requires. This entire process occurs in the background without any programmer input. Newer technologies, such as .NET, have extended JIT to include every aspect of the application.




.Net Development Security Solutions
.NET Development Security Solutions
ISBN: 0782142664
EAN: 2147483647
Year: 2003
Pages: 168

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net