This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
binary compatibility ABI (was: Re: [boehm-gc] Import 6.3 alpha 1)
Jeff Sturm writes:
>
> One of my sore points is the performance gap between static and
> position-independent code with the current gcj compiler. For example:
> reading a static field requires one memory load without -fPIC, but two
> loads with -fPIC (to obtain the memory address from the GOT offset).
Short of overwriting the instruction that does the fetch, how would you
do that?
Andrew.