Chuck, Thanks for your reply. No wonder I was not seeing this thread in dumps of newer JVMs. I wonder when that was removed?
Regards, William Crowell From: Chuck Caldarale <n82...@gmail.com> Date: Monday, April 7, 2025 at 3:49 PM To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: Headless Mode > 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 CAUTION: This email originated from outside of the organization. Do not click on links or open attachments unless you recognize the sender and know the content is safe. This e-mail may contain information that is privileged or confidential. If you are not the intended recipient, please delete the e-mail and any attachments and notify us immediately.