> On 2025 Apr 7, at 13:28, William Crowell <wcrow...@perforce.com.invalid> 
> 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?


Even in headless mode, the JVM must be able to do some graphics processing 
(such as image processing), and the old AWT framework is still needed for that. 
Looks like newer levels of the JVM (I’m using 23) have removed that AWT thread, 
so you might want to consider upgrading someday…

  - Chuck


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

Reply via email to