----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Absent_Minded_Aquarian Message 5 in Discussion Hi Mrinal! Your analogy is quite close, except that you are a bit clouded by the notion of cache. The cache that you are referring to, in the case of ASP.NET page being compiled the first time and reused the subsequent times, is actually a physical creation of the compiled IL code cache in the Temporary ASP.NET Files Folder. This cache has got nothing to the do with the cache of the JITter, which is actually an in memory area where compiled native code is stored, and optionally, when its determined that the native code isnt needed, or the in-memory native code cache is full, the native code is pitched, i.e., dropped out. To be a little more specific, this in-memory cache of JITter is referenced by the method tables of a CLI type at runtime, and a pointer is stored there which points to the location (in memory ofcourse) of the compiled native code. Incase the native code isnt present (implying that this is the first execution of the IL code), this is a pointer to a PreStubWorker function of the JITter. Once IL is compiled, the JITter replaces the pointer to it, with a pointer to the in-memory cache where it has stored the code it compiled at runtime. So, you should now be able to see that this JITter cache is quite different from the ASP.NET cache. And remember, incase of the WebApps, each WebApp runs in its own AppDomain, which remains up until the ASP.NET worker process gets recycled. Gaurav ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
