This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: FAQ update
>>>>> "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