libgcj performance: _Jv_LookupInterfaceMethod
Jeff Sturm
jsturm@sigma6.com
Tue Nov 30 13:16:00 GMT 1999
Godmar Back wrote:
> For the current interface dispatch solution, I believe it would be better
> to use a hash that not only includes the method name's utf8 hash, but also
> some bits from the class. This should reduce the likelyhood of constant
> conflict misses for invocations of the same interface method on different
> run-time types, which is likely to be common.
hmm... methods of the same name and signature, on different classes
generally have different implementations... yes, I agree. (I'd try it
but I'm hard pressed for time this week.)
--
Jeff Sturm
jsturm@sigma6.com
More information about the Java
mailing list