Generating Java Core with Symbols On Solaris

From: Robert Brown (robertbrown1971_at_yahoo.com)
Date: 10/30/03


Date: 30 Oct 2003 12:40:20 -0800

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



Relevant Pages

  • Re: Why FC4 using the Jpackage 1.4.2 Java?
    ... No open source JVM currently exists. ... You can register with Sun and go to Sun's Java sight and freely ... run the Java code optimally on the specific platform. ...
    (Fedora)
  • Re: Help me!! Why java is so popular
    ... My point is that those who use Windows already accept bloatware and the ... I think those are the kinds of things which has made Java popular. ... And don't forget about the very fact that with JVM, ... GUI elements are called components and containers, ...
    (comp.lang.java.programmer)
  • Re: Help me!! Why java is so popular
    ... You are basically arguing that "Java is slow because it is slow". ... > Also, a JVM can pay attention to usage, provide caching, adapt at run ... I have no use for unicode in my ...
    (comp.lang.java.programmer)
  • Re: Clojure vs Java speed
    ... vectors in C/C++ and Java. ... The JIT can't, but the coder can. ... You cannot write code that is both that short and that efficient in Clojure. ... You are on the JVM to interoperate with Java. ...
    (comp.programming)
  • Re: Java question
    ... Thats correct, however as I stated, you loose all the standard stuff that comes with a JVM and you loose the capability to have a runtime that behaves similar and can be tuned and parameterized similar to other platforms. ... Or when classes are used among multiple JVMs, in addition to the shared classloader cache having a shared JIT cache would likely have its benefits. ... Subject: Java question ... expect this to be the very same version of the compiler, ...
    (bit.listserv.ibm-main)