gcj uses reflection for every INVOKEINTERFACE?

Per Bothner per@bothner.com
Fri Feb 27 20:27:00 GMT 2004


Adam Megacz wrote:
> In other words, what if instead of using the method name, signature,
> and interface-name to identify the method when building the
> constant-time tables, we instead use the address of the _Jv_Method of
> the interface's method?

I.e. you'd still need to generate the _JV_Method entries, but it
miht be possible to drop the method names and signatures?
 > JvInvokeInterface then checks something->class, which has a jmethod[]
 > associated with it. It scans through that array to find an 'i' such
I.e. it's now no longer constant time.
-- 
	--Per Bothner
per@bothner.com http://per.bothner.com/


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /