An Exploratory Study on Patterns in Dynamic Memory Allocations

  • Alexandre Beletti Ferreira UFPR
  • Rivalino Matias UFU
  • Vinícius Fonseca Maciel UFU

Resumo


Dynamic memory allocation is omnipresent in computer programming, which makes its impact on software performance and scalability a major concern. Hence, it is important to understand how real applications allocate memory dynamically, answering questions like: How frequent are dynamic memory allocations? What is the distribution of allocation sizes? What is the average allocations' retention time? To answer these and other questions, we analyzed the memory allocation and deallocation traces from different real applications under their typical workloads, and found consistent allocation patterns. For instance, we observed that small allocations were predominant (in average 85%) in all applications analyzed, as well as short duration allocations that corresponded to 85.06% of all allocated memory. These and other findings were contrasted with a previous work towards assessing their external validity.
Palavras-chave: Resource management, Dynamic scheduling, Memory management, C languages, Graphics, Browsers, Correlation, memory management, dynamic allocation, patterns, exploratory study, external validity
Publicado
01/11/2016
FERREIRA, Alexandre Beletti; MATIAS, Rivalino; MACIEL, Vinícius Fonseca. An Exploratory Study on Patterns in Dynamic Memory Allocations. In: SIMPÓSIO BRASILEIRO DE ENGENHARIA DE SISTEMAS COMPUTACIONAIS (SBESC), 6. , 2016, João Pessoa/PB. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2016 . p. 40-47. ISSN 2237-5430.