The old profiling tools cause the Java vM to crash on linux, the new
hotspot profiling -Xprof does work
For a test case I tried running java -prof COM.volano.Main on the volano
benchmark. The following stack dump was generated from gdb, looks like it
is having problems reporting that there is an error!
#0 0x40128084 in report_error ()
from /export/d1/kestrel/build/solaris/lib/i386/client/libjvm.so
#1 0x4012853f in report_unimplemented ()
from /export/d1/kestrel/build/solaris/lib/i386/client/libjvm.so
#2 0x401c5881 in RawMonitor::raw_unlock ()
from /export/d1/kestrel/build/solaris/lib/i386/client/libjvm.so
#3 0x401c41e6 in RawMonitor::raw_monitor_exit ()
from /export/d1/kestrel/build/solaris/lib/i386/client/libjvm.so
#4 0x401b616b in jvmpi::raw_monitor_exit ()
from /export/d1/kestrel/build/solaris/lib/i386/client/libjvm.so
#5 0x487dd284 in hprof_class_load_event (env_id=0x804e714,
name=0x804e920 "sun.misc.Version", src_name=0x804e934 "Version.java",
num_interfaces=0, num_statics=3, statics=0x804e7d4, num_instances=0,
instances=0x804e7ec, num_methods=5, methods=0x804e864,
class_id=0x467c7d60, requested=0)
at ../../../../src/share/tools/hprof/hprof_class.c:183
#6 0x487dcc0c in hprof_notify_event (event=0xbfffd88c)
at ../../../../src/share/tools/hprof/hprof.c:196
#7 0x401b0589 in jvmpi::post_class_load_event ()
hotspot profiling -Xprof does work
For a test case I tried running java -prof COM.volano.Main on the volano
benchmark. The following stack dump was generated from gdb, looks like it
is having problems reporting that there is an error!
#0 0x40128084 in report_error ()
from /export/d1/kestrel/build/solaris/lib/i386/client/libjvm.so
#1 0x4012853f in report_unimplemented ()
from /export/d1/kestrel/build/solaris/lib/i386/client/libjvm.so
#2 0x401c5881 in RawMonitor::raw_unlock ()
from /export/d1/kestrel/build/solaris/lib/i386/client/libjvm.so
#3 0x401c41e6 in RawMonitor::raw_monitor_exit ()
from /export/d1/kestrel/build/solaris/lib/i386/client/libjvm.so
#4 0x401b616b in jvmpi::raw_monitor_exit ()
from /export/d1/kestrel/build/solaris/lib/i386/client/libjvm.so
#5 0x487dd284 in hprof_class_load_event (env_id=0x804e714,
name=0x804e920 "sun.misc.Version", src_name=0x804e934 "Version.java",
num_interfaces=0, num_statics=3, statics=0x804e7d4, num_instances=0,
instances=0x804e7ec, num_methods=5, methods=0x804e864,
class_id=0x467c7d60, requested=0)
at ../../../../src/share/tools/hprof/hprof_class.c:183
#6 0x487dcc0c in hprof_notify_event (event=0xbfffd88c)
at ../../../../src/share/tools/hprof/hprof.c:196
#7 0x401b0589 in jvmpi::post_class_load_event ()
- duplicates
-
JDK-4343346 JVM Crash with -Xrunhprof under Linux
-
- Closed
-