Performance gcj & mysql

Andrew Haley aph@redhat.com
Mon Sep 8 16:18:00 GMT 2008


ezer wrote:

> 1) How can i improve performance to do it better than jvm ?

Huh?  Which JVM?  If the answer is some all-singing high-performance
JIT, then you can't.

> 2) ./mysqlconnect stays dependant of the gcj libraries? When i uninstall gcj
> the executable complains about libgcj. Is there any way to have it totally
> independent, for example i want to copy the executable and mysql-5.0.8.o
> library without worring if have have gcj installed on that machine.

This is very difficult.  The -static-libgcj option might help,
but I wouldn't guarantee it.  For more details see:
http://gcc.gnu.org/wiki/Statically%20linking%20libgcj

Andrew.



More information about the Java mailing list