This is the mail archive of the java-patches@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: Patch: Interface dispatch table optimization


Bryce McKinlay wrote:
It turns out that we can allocate interface dispatch (jclass->idt) tables as a single struct, rather than a struct that contains a pointer to another table. This means that only one idt allocation is required for each class/interface, and _Jv_AllocBytes can be used to reduce the memory that needs to be scanned by the GC.

We need a writeup of how interface dispatch works, either in the internals manual or the wiki. I don't find it. Is there one? If so, could you update it? If since you have this fresh in your mind, could you do a write-up?

Not only for documentation, but it should also be done in a way that
counts as "publication" in terms of patent prior-art.
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


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