Two small ecj tweaks
Matthias Klose
doko at ubuntu.com
Sun Nov 30 23:31:09 PST 2008
Andrew John Hughes schrieb:
> 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.
On Debian you have almost always ecj-gcj installed, the natively compiled binary
(dependency on java-gcj-compat-dev); in this case you won't see accesses to the
compiled library file. Is libecj-java-gcj installed as well?
Matthias
More information about the distro-pkg-dev
mailing list