Liveness Aware Memory Allocator for Honey Potion

Kael Soares Augusto

Liveness Aware Memory Allocator for Honey Potion

Abstract. Honey Potion is a project developed by the Laboratory of Compilers of UFMG with the objective of making eBPF technology accessible. However, dealing with eBPF brings a severe limitation: 512 bytes of stack. This project proposes and implements a smart allocator that is liveness aware to circumvent that limitation. As a result, memory usage has reduced to 44.6% on average and over 5% in the best scenarios when compared to the original implementation across 24 benchmarks.

More about Honey Potion can be found in Dwctor’s youtube channel [Dwc] and in Honey Potion’s github repository [Lab].


2025/2 - POC2

Orientador: Fernando Magno Quintão Pereira

Palavras-chave: Compilador, Otimização, Alocador, eBPF, Elixir, Static Analysis, Liveness Analysis

PDF Disponível