I've never noticed any overhead myself, but logically it's having to pass through at least one more function call (Method.invoke())before getting to the method itself, and the invoke() method will have to check the types of the Objects you've passed it before execution.

Don't know how much more overhead this adds up to though. Anyone got any experience of this?

Yes, it can be considerably slower because Hotspot is not able to inline the method or perform any other little tricks on it - it's like calling a pure virtual function in C++, indirectly, that can't be inlined. It's a lot faster than it used to be though.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org