class metadata (was Re: GCJ information)

Bryce McKinlay bryce@waitaki.otago.ac.nz
Thu Dec 13 20:29:00 GMT 2001


Per Bothner wrote:
> static Utf8Const *_NameTable[] { &_Utf_foo, &_Uft_bar, ... };
> static void *_TypeTable[] { &Utf_java_lang_String + 1, ... };
>> Everything you can do with the current format you can also do
> with the compressed format *however* you also have to pass in
> the "context" Class in some cases where you don't have to with
> the current encoding. 

Hmm, how does a _Jv_Method get associated with the code pointer for the 
method? Do these go in the _TypeTable too?
Also, I don't see a convenient way of storing the vtable (and itable) 
offset/index for a method without breaking the const-ness of the 
_Jv_Method, for --indirect-dispatch.
regards
Bryce.


More information about the Java mailing list

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