I have tried to use visualvm to profile it,but can't find more than
the "vm thread " is the CPU killer.
Thanks.

On Wednesday, February 16, 2011, Jan Goyvaerts <java.arti...@gmail.com> wrote:
> Nope. But have a look with Visualvm ( it's the executable "jvisualvm" in 
> $JAVA_HOME/bin), right click on the process and ask for a thread dump. There 
> you'll see what it is doing. Or profile it with the Sampler plugin.
>
>
> What's a bit unusual is that it's root who's running this process...
>
> On Tue, Feb 15, 2011 at 20:17, agile.j...@gmail.com <agile.j...@gmail.com> 
> wrote:
> hi:
>  I found a java process whose cpu is almost 100% at my notebook.
>
>
>  Here is the top output:
>  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+
>  6150 root      20   0 1411m 612m  12m R 98.8 15.7  45:49.12
> and the jstack output for thread 6150(0x1806):"VM Thread" prio=10 
> tid=0x0000000040ca9000 nid=0x1806 runnable
>
>
>
> the last is jstat -gc output:
> S0C    S1C    S0U    S1U      EC       EU        OC         OU       PC     
> PU    YGC     YGCT    FGC    FGCT     GCT    64.0   64.0   0.0    0.0   
> 332992.0   0.0     666304.0   73192.5   83968.0 83967.9   6893   17.576 6882  
> 2705.923 2723.499
>
>
>
> I don't know what the "VM Thread" is doing all the time.
> Some peopel encounter the same problem?
>  Here is my enviromen:
>
>  Jvm:
>  java version "1.6.0_23"Java(TM) SE Runtime Environment (build 
> 1.6.0_23-b05)Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode)
> OS:
>
>
> Linux 2.6.35-26-generic #46-Ubuntu SMP Sun Jan 30 06:59:07 UTC 2011 x86_64 
> GNU/Linux
> Thanks.
>
> --
> d0ngd0ng
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "The Java Posse" group.
> To post to this group, send email to javaposse@googlegroups.com.
> To unsubscribe from this group, send email to 
> javaposse+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/javaposse?hl=en.
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "The Java Posse" group.
> To post to this group, send email to javaposse@googlegroups.com.
> To unsubscribe from this group, send email to 
> javaposse+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/javaposse?hl=en.
>

-- 
d0ngd0ng

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to javaposse@googlegroups.com.
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to