MESH: Compacting Memory Management for C/C plus plus Applications

被引:17
|
作者
Powers, Bobby [1 ]
Tench, David [1 ]
Berger, Emery D. [1 ]
McGregor, Andrew [1 ]
机构
[1] Univ Massachusetts, Coll Informat & Comp Sci, Amherst, MA 01003 USA
基金
美国国家科学基金会;
关键词
Memory management; runtime systems; unmanaged languages;
D O I
10.1145/3314221.3314582
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Programs written in C/C++ can suffer from serious memory fragmentation, leading to low utilization of memory, degraded performance, and application failure due to memory exhaustion. This paper introduces Mesh, a plug-in replacement for malloc that, for the first time, eliminates fragmentation in unmodified C/C++ applications. Mesh combines novel randomized algorithms with widely-supported virtual memory operations to provably reduce fragmentation, breaking the classical Robson bounds with high probability. Mesh generally matches the runtime performance of state-of-the-art memory allocators while reducing memory consumption; in particular, it reduces the memory of consumption of Firefox by 16% and Redis by 39%.
引用
收藏
页码:333 / 346
页数:14
相关论文
共 50 条
  • [41] Simplifying Transactional Memory Support in C plus
    Zardoshti, Pantea
    Zhou, Tingzhe
    Balaji, Pavithra
    Scott, Michael L.
    Spear, Michael
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2019, 16 (03)
  • [42] C plus plus builder
    Brauer, R
    DR DOBBS JOURNAL, 1997, 22 (07): : 12 - 12
  • [43] C plus plus standards
    Myers, N
    DR DOBBS JOURNAL, 1997, 22 (11): : 10 - +
  • [44] C plus plus evolves!
    Naumann, Axel
    20TH INTERNATIONAL CONFERENCE ON COMPUTING IN HIGH ENERGY AND NUCLEAR PHYSICS (CHEP2013), PARTS 1-6, 2014, 513
  • [45] C plus plus constructors
    Meyers, S
    DR DOBBS JOURNAL, 1997, 22 (05): : 10 - 10
  • [46] C plus plus constructors
    Plochan, F
    DR DOBBS JOURNAL, 1997, 22 (08): : 10 - +
  • [47] The magnetic spectrum of beta rays emitted by the ThB plus C plus C' plus C"
    Arnoult, R
    COMPTES RENDUS HEBDOMADAIRES DES SEANCES DE L ACADEMIE DES SCIENCES, 1934, 198 : 1603 - 1605
  • [48] The magnetic spectrum of beta rays emitted by AcB plus C plus C' plus C''
    Graf, T
    COMPTES RENDUS HEBDOMADAIRES DES SEANCES DE L ACADEMIE DES SCIENCES, 1933, 197 : 238 - 241
  • [49] Learning-Based Memory Allocation for C plus plus Server Workloads
    Lea, Doug
    COMMUNICATIONS OF THE ACM, 2024, 67 (04) : 82 - 82
  • [50] Learning-based Memory Allocation for C plus plus Server Workloads
    Maas, Martin
    Andersen, David G.
    Isard, Michael
    Javanmard, Mohammad Mahdi
    McKinley, Kathryn S.
    Raffel, Colin
    TWENTY-FIFTH INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS (ASPLOS XXV), 2020, : 541 - 556