Generating Java Core with Symbols On Solaris

R

Robert Brown

My Java application (a standalone server) consumes 80% CPU right upon
startup for no apparent reason. If I do a kill -QUIT on the process
all the Java threads are idle. The app uses native JNI libraries
including oracle OCI driver. So given that there is no activity in the
JVM something must be happening in the native code and I want to do
find out what that is.

What is the best way to peek into the state of the JVM in terms of OS
threads? I would like the OS equivalent of the JVM threaddump - the
core file. If I do gcore on the process I cannot look at it in gdb
because the java executable itself is compiled without the symbolic
information. What is the way to go about it on Solaris?

Thanks,

- Robert
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top