Two small ecj tweaks
mark at klomp.org
Mon Dec 1 01:14:54 PST 2008
On Mon, 2008-12-01 at 03:06 +0000, Andrew John Hughes wrote:
> I would also suggest possibly adding -Dgnu.gcj.precompiled.db.path to
> the interpreted invocation. On at least Debian and Gentoo, the
> mapping between ecj.jar and ecj.so is stored in the default database
> but as far as I can see, it doesn't get used unless this option is
> given. I patched the Gentoo build today to pass
> -Dgnu.gcj.precompiled.db.path=$(gcj-dbtool -p) to @JAVA@ and it gave a
> very noticeable speedup.
That is actually surprising. If there is a default system database then
should be picked up automatically by gij. You should only need
gnu.gcj.precompiled.db.path if you use an alternative database.
More information about the distro-pkg-dev