-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

James,

On 2/12/20 4:53 PM, James H. H. Lampert wrote:
> Here is a "Display Java Threads" from the Tomcat server's JVM job:
> 
>> Total       Aux Thread    Name              Status      CPU
>> I/O 00000011  main              SELW       1.100       130 
>> 00000014  JIT Compilatio >  THDW      61.932        89 00000015
>> JIT Compilatio >  THDW      96.846        77 00000016  JIT
>> Compilatio >  THDW      11.640        10 00000017  JIT Compilatio
>> >  THDW       1.350         2 00000018  JIT-SamplerThr >  THDW
>> 23.866         0
[...]
>> 0000001D  GC Slave          THDW     187.726       157 0000001E
>> GC Slave          THDW     187.534       420 0000001F  GC Slave
>> THDW     187.862       217 00000020  GC Slave          THDW
>> 187.165       362 00000021  GC Slave          THDW     187.572
>> 340 00000022  GC Slave          THDW     187.686       333 
>> 00000023  GC Slave          THDW     187.870       161

I don't know up from down on an AS/400, but that certainly looks like
both GC and JIT are tearing up your CPUs.

What do those numbers in the "Total CPU" column mean? I that %-CPU
like "thread 0000001D is using nearly 2 CPUs solid"? Or does that mean
"thread 0000001D has had 187.726 seconds of activity since the process
launched"?

If this is a somewhat freshly launched JVM, you will see two things
happen "early" in the process's lifetime:

1. Lots of heap re-sizing (because -Xms != -Xmx) before you get to a
steady-state heap

2. Lots of JIT compilation because most of your Java code is being for
the "first time" by the JVM (most JVMs don't cache JIT-compiled
bytecode between process invocations ... except for the core classes
in some more recent versions)

So maybe everything above looks fine. *shrug*

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl5Eg+kACgkQHPApP6U8
pFiCZg/9GWYpIEoob6+NllEPHErv1zu5/IwZXrqjUmgjv39j5F5/0+38F+lapUY1
u0wwNqcXuOyj44uRyxoE8uNL5RcOJUIJumAyoOtL3jtREyM+qWPJ3oEeQzUmNqQQ
IlVXvZT0ALlG/eKSci747FbMAUk2Yp49r3EaTmn+KBOO3U04TVzpjbl0o1dupcjm
ZI+52cbyrRHp9Myvz9s/r56SqLDSefoxGqrsFa8rBfHSIdFZft3hEE+LwY4iWO4T
u9mnF1INr5CHBm2tIYHuXfSJGVw8LKVydYzp6ntRdLZ1l9inBLxbkDWihFzJn3fz
nd9X9pPv34p3qMlqCaV9Ow7pxRXdFpUa8b/q6GOt9gR8V/SIHhrSX0gUA1dWuD2Q
ROkenXUcaZcXa4jIWEw0/7v5wJaN4kYEzUuYfZdMmimSqLgVXCZn3L9584QlRDFo
RFdAZ5Rbr3b0uy9cAm/EMlpXDuvGm4ARFBl2lG0q1R5B6yNsLXpbgaBGkI9YjLJx
K8q4J11EJJH6hZ45tf3xV4MVlqD3MoVSLuuzj/eb/TD0iDFmeL31cpN0tCvG852R
1qOHhXXNKmvxH4toHthGxVWpKdDIlUSPtTXpq1Nn3NYCDme5IUKbetz9yV+qvrol
lV1HPo2fUWglb1koFBCXEreC1MXqBev9wawlMeqPdunN3+n4t98=
=1PqO
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to