This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: does gcj do inlining when generating bytecodes?



Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
> The reason for this is that you can do a much better job of inlining and 
> optimization during JIT compilation than you can at the bytecode level. 
> Inlining bytecode just makes it bigger and debugging harder, and causes 
> issues with respect to the binary compatibility rules.

Yeah, but the MSJVM *screams* if you pre-inline your code =) The
performance increase is unbelievable.

I agree that on modern/sophisticated VM's, you can do a better job at
runtime, though.

  - a


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]