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: RFC: Change C++ ABI so that interface dispatch does not depend on reflection.


David Daney wrote:

Since the String table (for the <clinit> name) is shared the only real overhead is a single entry in the method reflection table (12 bytes on a 32 bit architecture) If the class object had a pointer this would be 4 bytes. So that would be only 8 bytes of saving, but the class initialization time would be faster as you would not have to do a lookup in the method table.


That is not correct. I think the actual size of the method reflection entries is 20 bytes each.


David Daney.



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