java - investigate jvm high cpu usage -


i have got jvm process consumes single cpu core. checked java threads , there seems no running operations, seems load native thread.

i tried use pstack: pstack <thread_id>, returned me list of addresses not helpful:

#0  0x00007fcc33c2b694 in ?? () #1  0x00007fcc3011f540 in ?? () #2  0x00007fcc2c032710 in ?? () #3  0x00007fcc3011f560 in ?? () #4  0x00007fcc33c6eaa0 in ?? () #5  0x00007fcc3011f560 in ?? () #6  0x00007fcc3011f7f0 in ?? () #7  0x00007fcc346414d0 in ?? () #8  0x00007fcc34641bf8 in ?? () #9  0x00007fcc3011f570 in ?? () #10 0x00007fcc33c83618 in ?? () #11 0x00007fcc3011f5a0 in ?? () #12 0x00007fcc33c6ea66 in ?? () #13 0x00000006b73ce4b0 in ?? () #14 0x00007fcc3011f7f0 in ?? () 

what can next? understand helpful use symbols convert adddresses readable names, not sure if exist jvm.

another option ask jvm print internal state, not sure if such commands exist.

any information appreciated.

i using 1.7.0_80 jdk:

# ./java -version java version "1.7.0_80" java(tm) se runtime environment (build 1.7.0_80-b15) java hotspot(tm) 64-bit server vm (build 24.80-b11, mixed mode) 

within docker (1.9.1) container:

# uname -a linux 259307ada273 3.10.0-229.el7.x86_64 #1 smp fri mar 6 11:36:42 utc 2015 x86_64 x86_64 x86_64 gnu/linux 

you can try activate cpu profiling in jvisualvm, see https://visualvm.java.net/profiler.html.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -