------- 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