Impact of virtual threads and garbage collection on energy efficiency of Java applications for battery powered IoT devices

虚拟线程和垃圾回收对电池供电物联网设备Java应用程序能效的影响

阅读:1

Abstract

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.

特别声明

1、本页面内容包含部分的内容是基于公开信息的合理引用;引用内容仅为补充信息,不代表本站立场。

2、若认为本页面引用内容涉及侵权,请及时与本站联系,我们将第一时间处理。

3、其他媒体/个人如需使用本页面原创内容,需注明“来源:[生知库]”并获得授权;使用引用内容的,需自行联系原作者获得许可。

4、投稿及合作请联系:info@biocloudy.com。