RFC: Change C++ ABI so that interface dispatch does not depend on reflection.

Per Bothner per@bothner.com
Tue Jan 31 10:02:00 GMT 2006


David Daney wrote:
> I have been looking at removing reflection data from objects compiled 
> with the C++ ABI in the interests of reducing the size of the generated 
> code/data.  Currently reflection data is about 15% - 20% of the size (as 
> reported by size) of a 1000 class application linked with libgcj.

This may be a worthwhile option, but even more useful would be figuring
out to compress the reflective data.  We also want to make the
reflective data position-indepenendent and pointer-free, as much as
possible.  This seems likely to make a big difference in start-up
time when using dynamic linking.  It would reduce memory usage, even
when full refletion is available - and for both ABIs.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



More information about the Java mailing list