This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
profile questions
- From: Anthony Green <green at redhat dot com>
- To: java at gcc dot gnu dot org
- Date: Sun, 27 Aug 2006 08:40:05 -0700
- Subject: profile questions
I just profiled tomcat's hello world servlet on i386 FC development.
To do this, I just installed the following two packages...
tomcat5-5.5.17-6jpp.1
tomcat5-webapps-5.5.17-6jpp.1
...ran "service tomcat5 start", and then oprofiled while running...
ab -n 20000 -c 160 http://172.31.0.50:8080/servlets-examples/servlet/HelloWorldExample
(ab is part of the httpd package)
I have all of appropriate gcc and tomcat debuginfo installed.
See below for the top of "opreport -l".
So, my questions...
1. What's with _dl_addr taking > 51% of the time?
2. What's with the messed up .so name for catalina?
AG
samples % image name app name symbol name
163446 51.2100 libc-2.4.90.so libc-2.4.90.so _dl_addr
56530 17.7117 no-vmlinux no-vmlinux (no symbols)
9706 3.0410 libgcj.so.7rh.0.0 libgcj.so.7rh.0.0 GC_mark_from
6434 2.0159 catalina-5.5.17.jar.sorlq7aq.so catalina-5.5.17.jar.sorlq7aq.so (no symbols)
3099 0.9710 libgcc_s-4.1.1-20060825.so.1 libgcc_s-4.1.1-20060825.so.1 _Unwind_IteratePhdrCallback
2552 0.7996 libgcj.so.7rh.0.0 libgcj.so.7rh.0.0 bool java::lang::String::startsWith(java::lang::String*,
int)
2434 0.7626 libgcj.so.7rh.0.0 libgcj.so.7rh.0.0 GC_malloc_atomic
2316 0.7256 libgcj.so.7rh.0.0 libgcj.so.7rh.0.0 .plt
2269 0.7109 libgcj.so.7rh.0.0 libgcj.so.7rh.0.0 _Jv_LookupInterfaceMethodIdx
1920 0.6016 oprofiled oprofiled (no symbols)
1769 0.5543 libgcj.so.7rh.0.0 libgcj.so.7rh.0.0 _Jv_MonitorEnter
1689 0.5292 libgcj.so.7rh.0.0 libgcj.so.7rh.0.0 GC_gcj_malloc
1534 0.4806 libgcj.so.7rh.0.0 libgcj.so.7rh.0.0 _Jv_InterpMethod::run(void*, ffi_raw*, _Jv_InterpMethod*)1300 0.4073 libgcj.so.7rh.0.0 libgcj.so.7rh.0.0 _Jv_MonitorExit
1185 0.3713 libc-2.4.90.so libc-2.4.90.so memset
1073 0.3362 libgcj.so.7rh.0.0 libgcj.so.7rh.0.0 GC_add_to_black_list_normal
1036 0.3246 libc-2.4.90.so libc-2.4.90.so strlen
1008 0.3158 mx4j-3.0.1.jar.so mx4j-3.0.1.jar.so (no symbols)
989 0.3099 libc-2.4.90.so libc-2.4.90.so memcpy
984 0.3083 libpthread-2.4.90.so libpthread-2.4.90.so __pthread_mutex_unlock_usercnt
924 0.2895 libpthread-2.4.90.so libpthread-2.4.90.so pthread_mutex_lock
869 0.2723 libgcj.so.7rh.0.0 libgcj.so.7rh.0.0 _Jv_IsAssignableFrom(java::lang::Class*, java::lang::Class*)
850 0.2663 libgcj.so.7rh.0.0 libgcj.so.7rh.0.0 bool java::lang::String::equals(java::lang::Object*)