William,
On 4/7/25 2:28 PM, William Crowell wrote:
I am running Apache Tomcat 9.0.97 on Windows Server 2022 using Oracle’s JDK
1.8.0_441-b07. Anytime I generate a thread dump I see an AWT-Windows thread.
Should this thread not be there when I am specifying the JVM to run in headless
mode?
-Djava.awt.headless=true
This thread sits in a loop waiting for events which would take up CPU. Maybe I
am misunderstanding that JVM option?
That thread probably uses 0% CPU. IT's blocking, waiting for events and
other things that need to happen "on the AWT thread". My guess is that
those events will never actually occur, so the thread does take up some
memory but should not otherwise impact performance.
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org