ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephane Bailliez" <>
Subject Re: no -O in javac 1.4?
Date Thu, 07 Feb 2002 08:09:01 GMT
----- Original Message -----
From: "Steve Loughran" <>

> The latest 1.4 docs:
> do not
> a -O option in javac; presumably because all it did was inline stuff, and
> hotspot can do that itself.

the -O option was there in 1.3 but it was badly documented as doing
absolutely nothing.
You won't find any reference of -O in the javac compiler source code but in
the main class to process it in the command line .It is absolutely not used.
I think they remove it because in 1.3 they completely rewrote the compiler
from scratch and since they knew there was Hotspot as a default in 1.3,
there was obviouslly really no point in adding another layer of code for
optimization purpose.
Note: the -O option does nothing in the current implementation of javac and


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message