[BC ABI] For entertainment purposes only: gcj-JIT

Tom Tromey tromey@redhat.com
Sat Aug 14 00:43:00 GMT 2004


>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:

Andrew>   /* FIXME: The gcj runtime is broken in that atable references to
Andrew>      static fields in interpreted classes aren't fixed up until too
Andrew>      late.  When this is fixed we can re-enable this code.  */

Andrew> .. this is all to do with the time whan we do resolution, as we
Andrew> discussed before.  Somehow we need to defer resolving the references
Andrew> to data until they're used.

[ just thought I'd get this in the archives ]

This might be the bug I'm hitting when I compile swt.jar.

It occurs to me that before we can reference a static field, we must
initialize the target class.  What if at these places we call a
special (new) function that both initializes the target class and
updates all atable references to static fields of that class?

Tom



More information about the Java-patches mailing list