[Bug libgcj/11780] Method.invoke() is slow

mckinlay at redhat dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 29 18:59:00 GMT 2006



------- Comment #7 from mckinlay at redhat dot com  2006-03-29 18:59 -------
With a public call, as in the current test case, it is "only" about 2.5X slower
than HotSpot for me:

$ ./a.out
public call: 499 ms
private call: 7344 ms
$ java RefTest3
public call: 182 ms
private call: 808 ms

Private calls show a larger difference due to the requirement for an
accessibility check, which involves stack inspection. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11780



More information about the Java-prs mailing list