This is the mail archive of the java-discuss@sourceware.cygnus.com 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]

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

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