DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Wed, 25 Jul 2007 06:26:01 -0700,    posted on: microsoft.public.dotnet.framework.clr        back       

Thread Index
  1    Artralarasu
          2    Phill W. p-.-a-.-w-a-r-d-@-o-p-e-n-.-a-c-.-u-k
                 3    Artralarasu
                 4    Phill W. p-.-a-.-w-a-r-d-@-o-p-e-n-.-a-c-.-u-k


converting MSIL to Native code   
while performing JIT compialtion, The MSIL code will be converted to native 
code but how the native code will modify the assembly?

is that exe/dll size will be increased while converting the MSIl code to 
native code?

could anyone clarify this.

Please ingore if i am admitted wrongly.
Date:Wed, 25 Jul 2007 06:26:01 -0700   Author:  

Re: converting MSIL to Native code   
Artralarasu wrote:


> while performing JIT compialtion, The MSIL code will be converted to native 
> code but how the native code will modify the assembly?


Not at all.


> is that exe/dll size will be increased while converting the MSIl code to 
> native code?


The assembly is /not/ overwritten.

The methods are loaded and linked to native code and then executed /in 
memory/.  Nothing is written back to disk, unless you use ngen, which 
writes out a /separate/ file containing all the native code.

HTH,
    Phill  W.
Date:Wed, 25 Jul 2007 16:49:58 +0100   Author:  

Re: converting MSIL to Native code   
"Phill W." wrote:


> Artralarasu wrote:
> 
> > while performing JIT compialtion, The MSIL code will be converted to native 
> > code but how the native code will modify the assembly?
> 
> Not at all.
> 
> > is that exe/dll size will be increased while converting the MSIl code to 
> > native code?
> 
> The assembly is /not/ overwritten.
> 
> The methods are loaded and linked to native code and then executed /in 
> memory/.  Nothing is written back to disk, unless you use ngen, which 
> writes out a /separate/ file containing all the native code.
> 
> HTH,
>     Phill  W.
> 

Phill Thank you.

Is that mean JIT will perform validation and verification of MSIL.How the 
JIT make sure that the particular method is already executed or not ?

because the the JIT compilation is performed only once for a particular 
method and it wont be repeated.

Pls correct me if i am wrong.
Date:Wed, 25 Jul 2007 22:36:00 -0700   Author:  

Re: converting MSIL to Native code   
Artralarasu wrote:


> Is that mean JIT will perform validation and verification of MSIL.How the 
> JIT make sure that the particular method is already executed or not ?


It's all part and parcel of the JIT loader.  Assemblies are loaded and 
linked method-by-method so, presumably, the framework keeps track of the 
ones it's loaded so far.

And yes, the optimisation occurs only once; if conditions on the machine 
change radically while the process is running, the method may have been 
linked in a non-optimal way.

HTH,
    Phill  W.
Date:Thu, 26 Jul 2007 11:51:48 +0100   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us