FAQ update
Tom Tromey
tromey@cygnus.com
Thu Nov 4 22:14:00 GMT 1999
>>>>> "Jeff" == Jeff Sturm <jsturm@sigma6.com> writes:
Jeff> If your Java application doesn't need threads, try building
Jeff> libgcj using --enable-threads=none. Portions of the libgcj
Jeff> runtime are still more efficient when single-threaded. This
Jeff> will also allow you to use the profiler (gprof) on non-threaded
Jeff> Java code (POSIX threads seem to be incompatible with the gmon
Jeff> stuff).
I've heard reports from a Cygnoid that gprof works ok with threads, at
least on Linux. He told me that you can't get per-thread profiling,
but profiling should work for the process as a whole. Have you tried
it and had a different experience?
T
More information about the Java
mailing list