V3 ABI

Alexandre Petit-Bianco apbianco@cygnus.com
Thu Dec 7 16:59:00 GMT 2000


Tom Tromey writes:

> >> Another would be to add dummy virtual functions to Object whose
> >> slots would then be abused to hold the extra info.  
> 
> Alex> Would we only change java/lang/Object.h?

> We would also have to change gcj to know about the dummy virtual
> functions in Object.

I was under the impression that the definition for Object.java for gcj
wouldn't change. gcj generated vtable for Object would be created as
usual, along with the dummy entries. So only changing
java/lang/Object.h would just force the C++ compiler to do what we
want. Am I missing something?

./A


More information about the Java mailing list