Learned Garbage Collection

04/28/2020
by   Lujing Cen, et al.
0

Several programming languages use garbage collectors (GCs) to automatically manage memory for the programmer. Such collectors must decide when to look for unreachable objects to free, which can have a large performance impact on some applications. In this preliminary work, we propose a design for a learned garbage collector that autonomously learns over time when to perform collections. By using reinforcement learning, our design can incorporate user-defined reward functions, allowing an autonomous garbage collector to learn to optimize the exact metric the user desires (e.g., request latency or queries per second). We conduct an initial experimental study on a prototype, demonstrating that an approach based on tabular Q learning may be promising.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/28/2021

Reward (Mis)design for Autonomous Driving

This paper considers the problem of reward design for autonomous driving...
research
06/29/2018

Josephine: Using JavaScript to safely manage the lifetimes of Rust data

This paper is about the interface between languages which use a garbage ...
research
01/29/2019

On the Impact of Programming Languages on Code Quality

This paper is a reproduction of work by Ray et al. which claimed to have...
research
05/03/2021

Generative Adversarial Reward Learning for Generalized Behavior Tendency Inference

Recent advances in reinforcement learning have inspired increasing inter...
research
01/29/2021

Challenges for Using Impact Regularizers to Avoid Negative Side Effects

Designing reward functions for reinforcement learning is difficult: besi...
research
10/01/2018

SmartChoices: Hybridizing Programming and Machine Learning

We present SmartChoices, an approach to making machine learning (ML) a f...
research
09/04/2019

Augmented Memory Networks for Streaming-Based Active One-Shot Learning

One of the major challenges in training deep architectures for predictiv...

Please sign up or login with your details

Forgot password? Click here to reset