What you've mentioned is known as method inlining.

The Soot framework does this optimization on Java classfiles.  (Why
classfiles?  See the technical report at

http://www.sable.mcgill.ca/publications/sable-tr-1999-3.ps

"Optimizing Java Bytecode using the Soot Framework: Is it feasible?"
for a rationale and our experimental results.)

Unfortunately, the version (1.beta.6) which does inlining is not yet
available to the public.  It does work on a vast number of Java
programs.  The code (under LGPL) should be online within the next two
weeks. 

pat



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to