----- Original Message -----
From: "Steve Loughran" <steve_l@iseran.com>
> The latest 1.4 docs:
> http://java.sun.com/j2se/1.4/docs/tooldocs/win32/javac.html do not
document
> 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.
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/javac.html
Note: the -O option does nothing in the current implementation of javac and
oldjavac.
Stephane
--
To unsubscribe, e-mail: <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
|