gcj uses reflection for every INVOKEINTERFACE?

Adam Megacz adam@megacz.com
Thu Feb 26 05:24:00 GMT 2004


Hrm, I found this at the bottom of build_invokeinterface():
 return build (CALL_EXPR, ptr_type_node,
 build_address_of (soft_lookupinterfacemethod_node),
 lookup_arg, NULL_TREE);
It looks like _Jv_LookupInterfaceMethodIdx() is getting called every
time a method overriding an interface method is invoked... is this
true? Is there any way around this?
 - a
-- 
In 1845 the Potato Famine decimated Irish agriculture because of lack
of genetic diversity. Over 150 years later, we still haven't learned
this lesson, which is why the plague of Microsoft viruses will
continue for as long as the software monoculture does.


More information about the Java mailing list

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