This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [BC] Patch: Cached class map
- From: Anthony Green <green at redhat dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: java-patches at gcc dot gnu dot org, Tom Tromey <tromey at redhat dot com>
- Date: Thu, 28 Oct 2004 12:43:53 -0700
- Subject: Re: [BC] Patch: Cached class map
- Organization: Red Hat, Inc.
- References: <m3oeioduic.fsf@localhost.localdomain> <16767.62665.881475.791718@cuddles.cambridge.redhat.com> <16767.63050.12354.298557@cuddles.cambridge.redhat.com> <m3fz3zddat.fsf@localhost.localdomain> <16769.12680.465178.29779@cuddles.cambridge.redhat.com>
On Thu, 2004-10-28 at 10:51, Andrew Haley wrote:
> gcj -shared -fPIC foo.jar -o foo.so -findirect-dispatch
> jv-dbtool -n foo.gcjdb # create the database
> jv-dbtool -a foo.gcjdb foo.jar foo.so # add foo.jar to the database
>
> gij --cp foo.jar -Djava.precompiled.db=foo.db <whatever>
>
> ... and gij will use the precompiled versions of all the .class files.
One more suggestion...
It would be useful to support multiple databases at the same time. For
instance, a system db maintained by admin, and a user db for my own
applications.
AG
--
Anthony Green <green@redhat.com>
Red Hat, Inc.