ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephane Bailliez" <sbaill...@apache.org>
Subject Re: no -O in javac 1.4?
Date Thu, 07 Feb 2002 08:09:01 GMT
----- 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>


Mime
View raw message