does gcj do inlining when generating bytecodes?

Per Bothner per@bothner.com
Mon Dec 17 10:27:00 GMT 2001


Tom Tromey wrote:
>>>>>>"Adam" == Adam Megacz <gcj@lists.megacz.com> writes:
>>>>>>>> Adam> I asked earlier if .java -> .o would inline, and the answer was
> Adam> yes. Will GCJ inline small final/private methods within a single
> Adam> class when compiling .java -> .class?
>> Nope.
>> We don't really do much, if any, optimizing when generating bytecode.
> We could, but it has never been seen as very important.

Also, if a tree-based inliner is written (I believe that was one of the
intents, given that front-ends are now encouraged to represent
whole functions/methods as trees, but I don't know the status),
then it might be easier to do this.
-- 
	--Per Bothner
per@bothner.com http://www.bothner.com/per/


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /