Impact of virtual threads and garbage collection on energy efficiency of Java applications for battery powered IoT devices
IoT devices are increasingly battery-powered, making energy efficiency a primary design concern. This work investigates how Java’s concurrency model (traditional OS threads vs. Virtual Threads) and garbage collection strategies affect battery lifetime. Using a smartwatch case study, we demonstrate that a modern, asynchronous design using Virtual Threads and ZGC achieves a 42% improvement in battery lifetime (7.0 h → 10.0 h) compared to a traditional blocking implementation. This improvement is driven by a 55% reduction in CPU active time and a 7 × increase in deep-sleep residency. This paper provides quantitative evidence and practical guidelines for building energy-efficient Java applications on constrained embedded devices.
Authors
- V. Sivakumar (ORCID: https://orcid.org/0000-0001-9910-726X)
- S. Shanjai Kumar
- B. N. Sanjai
- S. Etheeswar Kaarthi
- S. Jagadeesan
Institutions
- Vellore Institute of Technology University (IN)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-03-14
- DOI
- https://doi.org/10.1038/s41598-026-40112-6
- Primary Topic
- Green IT and Sustainability
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- VIT University