This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: class metadata (was Re: GCJ information)


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]