gcj-jit: what is it?

shudo@computer.org shudo@computer.org
Fri Jun 17 01:02:00 GMT 2005


From: Tom Tromey <tromey@redhat.com>
> >>>>> "Ranjit" == Ranjit Mathew <rmathew@gmail.com> writes:
>> Ranjit> See:
> Ranjit> http://gcc.gnu.org/ml/java/2003-01/msg00022.html
> Ranjit> http://gcc.gnu.org/ml/java-patches/2004-q3/msg00481.html
>> It is also in the manual, but not in the most useful format, see:
>> http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcj/libgcj-Runtime-Properties.html#libgcj-Runtime-Properties
>> Look through here for the jit stuff.
> I made a note to write a new node for the manual describing this.

I have prepared the following shell script to invoke gij involving JIT
compilation. In this case, $HOME/gcj-cache/ holds shared libraries
generated by GCJ.
====================
#!/bin/sh
GCJ=/usr/bin/gcj
CACHEDIR=$HOME/gcj-cache
OPT=-O2
if [ ! -d $CACHEDIR ]; then
	mkdir -p $CACHEDIR
fi
gij -Dgnu.gcj.jit.compiler=$GCJ -Dgnu.gcj.jit.cachedir=$CACHEDIR -Dgnu.gcj.jit.options=$OPT $*
====================
 Kazuyuki Shudo	shudo@computer.org	http://www.shudo.net/


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /