One process to reap them all: Garbage collection as-a-service

Ahmed Hussein, Mathias Payer, Antony L. Hosking, Chris Vick

    Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

    3 Citations (Scopus)

    Abstract

    Ubiquitous mobile platforms such as Android rely on managed language run-time environments, also known as language virtual machines (VMs), to run a diverse range of user applications (apps). Each app runs in its own private VM instance, and eachVMmakes its own private local decisions in managing its use of processor and memory resources. Moreover, the operating system and the hardware do not communicate their low-level decisions regarding power management with the high-level app environment. This lack of coordination across layers and across apps restricts more effective global use of resources on the device. We address this problem by devising and implementing a global memory manager service for Android that optimizes memory usage, run-time performance, and power consumption globally across all apps running on the device. The service focuses on the impact of garbage collection (GC) along these dimensions, since GC poses a significant overhead within managed run-time environments. Our prototype collects system-wide statistics from all running VMs, makes centralized decisions about memory management across apps and across software layers, and also collects garbage centrally. Furthermore, the global memory manager coordinates with the power manager to tune collector scheduling. In our evaluation, we illustrate the impact of such a central memory management service in reducing total energy consumption (up to 18%) and increasing throughput (up to 12%), and improving memory utilization and adaptability to user activities.

    Original languageEnglish
    Title of host publicationVEE 2017 - Proceedings of the 2017 ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments
    PublisherAssociation for Computing Machinery, Inc
    Pages171-186
    Number of pages16
    ISBN (Electronic)9781450349482
    DOIs
    Publication statusPublished - 8 Apr 2017
    Event2017 ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments, VEE 2017 - Xi'an, China
    Duration: 8 Apr 20179 Apr 2017

    Publication series

    NameVEE 2017 - Proceedings of the 2017 ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments

    Conference

    Conference2017 ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments, VEE 2017
    Country/TerritoryChina
    CityXi'an
    Period8/04/179/04/17

    Fingerprint

    Dive into the research topics of 'One process to reap them all: Garbage collection as-a-service'. Together they form a unique fingerprint.

    Cite this