Charles Oliver Nutter <[EMAIL PROTECTED]> skrev:So many options, so little 
documentation!

Yes, if you AOT compile, you avoid the JIT cost of one Java class being 
generated per method. However the methods generated into that class 
still need to be bound into DynamicMethod objects somehow, so we 
generate a class-per-method for the handles. In general, this should be 
cheaper.

You can also AOT compile and turn on reflection, which will mean no 
generation of handles at runtime other than additional methods that 
might JIT.

Interesting topic! What is your recommendation regarding possible AOT compile 
for a rails project deployet as a war on a java app server using JRuby? I.e. 
Would that be beneficial for performance/gc etc ?

/Morten

       
---------------------------------

 Få en billig laptop. Se Kelkoos gode tilbud her! 

Reply via email to