A
Andrew Branch
Hi,
I'm using ANT to compile my project and I'm using the optimize="on"
attribute. I see that under the hood, that adds the -O switch to
javac. It seems that Sun no longer mentions this optimization on their
website.
I found some old information that says that this option does some
static inlining etc. Problem is, it also turns off -g:lines option,
which I want.
Could it be that this is now an obsolete switch. Do the JIT's take
care of all the optimization, making this switch unnecessary?
Thanks in advance
I'm using ANT to compile my project and I'm using the optimize="on"
attribute. I see that under the hood, that adds the -O switch to
javac. It seems that Sun no longer mentions this optimization on their
website.
I found some old information that says that this option does some
static inlining etc. Problem is, it also turns off -g:lines option,
which I want.
Could it be that this is now an obsolete switch. Do the JIT's take
care of all the optimization, making this switch unnecessary?
Thanks in advance