More Apps, Faster Hot-Launch on Mobile Devices via Fore/Background-aware GC-Swap Co-design

Jiacheng Huang, Yunmo Zhang, Junqiao Qiu, Yu Liang, Rachata Ausavarungnirun, Qingan Li*, Chun Jason Xue

*Corresponding author for this work

Research output: Chapters, Conference Papers, Creative and Literary WorksRGC 32 - Refereed conference paper (with host publication)peer-review

7 Citations (Scopus)

Abstract

Faster app launching is crucial for the user experience on mobile devices. Apps launched from a background cached state, called hot-launching, have much better performance than apps launched from scratch. To increase the number of hot-launches, leading mobile vendors now cache more apps in the background by enabling swap. Recent work also proposed reducing the Java heap to increase the number of cached apps. However, this paper found that existing methods deteriorate app hot-launch performance while increasing the number of cached apps. To simultaneously improve the number of cached apps and hot-launch performance, this paper proposes Fleet, a foreground/background-aware GC-swap co-design framework. To enhance app-caching capacity, Fleet limits the tracing range of GC to background objects only, avoiding touching long-lifetime foreground objects. To improve hot-launch performance, Fleet identifies objects that will be accessed during the next hot-launch and uses runtime information to guide the swap scheme in the OS. In addition, Fleet aggregates small objects with similar access patterns into the same pages to improve swap efficiency. We implemented Fleet in AOSP and evaluated its performance with different types of apps. Experimental results show that Fleet achieves a 1.59× faster hot-launch time and caches 1.21× more apps than Android. © 2024 Copyright held by the owner/author(s).
Original languageEnglish
Title of host publicationASPLOS '24
Subtitle of host publicationProceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 3
Place of PublicationNew York, NY
PublisherAssociation for Computing Machinery
Pages654-670
Number of pages17
ISBN (Print)979-8-4007-0386-7
DOIs
Publication statusPublished - 2024
Event29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS 2024) - San Diego, United States
Duration: 27 Apr 20241 May 2024
https://www.asplos-conference.org/asplos2024/

Conference

Conference29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS 2024)
Abbreviated titleASPLOS ’24
Country/TerritoryUnited States
CitySan Diego
Period27/04/241/05/24
Internet address

Bibliographical note

Full text of this publication does not contain sufficient affiliation information. With consent from the author(s) concerned, the Research Unit(s) information for this record is based on the existing academic department affiliation of the author(s).

Funding

We are grateful to our shepherd and the anonymous reviewers for their constructive comments and suggestions. The work was supported in part by the Research Grants Council of the Hong Kong Special Administrative Region, China (No. CityU 11209122), the Thailand MHESI Research Grant for New Scholars (RGNS 64-091), the National Key Research and Development Program of China (No. 2022YFB3104502), the State Key Laboratory of Computer Architecture (ICT, CAS) under Grant CARCH A20211, the Wuhan Science and Technology Joint Project for Building a Strong Transportation Country (No. 2023-2-7), the CCF-Phytium Fund, and the National Science Foundation (NSF) Grant (No. 2105006).

Research Keywords

  • Garbage Collection
  • Memory Management
  • Mobile Systems
  • Operating Systems

Fingerprint

Dive into the research topics of 'More Apps, Faster Hot-Launch on Mobile Devices via Fore/Background-aware GC-Swap Co-design'. Together they form a unique fingerprint.

Cite this