This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]