unused constant pool entries
Per Bothner
per@bothner.com
Mon Feb 23 23:13:00 GMT 2004
Adam Megacz wrote:
> If I use gcj to compile .class -> .o, will unused constantpool entries
> in the class file affect the size of the resultant .o?
I'm fairly sure it would not.
> Related question: can anybody give me a rough idea of what degree of
> possible optimizations are lost by compiling .class -> .o instead of
> .java -> .o?
I know gcj had trouble doing some loop optimizations on bytecode;
I don't know if that is still an issue.
Static numeric array initializers are much more efficient in source
code.
There's probably more.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
More information about the Java
mailing list