Article thumbnail
Location of Repository

Dynamic Memory Managment in C++

By Martin Sperens

Abstract

Memory allocation is an important part of program optimization as well as of computer architecture. This thesis examines some of the concepts of memory allocation and tries to implement overrides for the standard new and delete functions in the c++ library using memory pools combined with other techniques. The overrides are tested against the standard new and delete as well as a custom memory pool with perfect size for the allocations. The study finds that the overrides are slightly faster on a single thread but not on multiple. The study also finds that the biggest gain on performance is to create custom memory pools specific to the programs needs. Lastly, the study also lists a number of ways that the library could be improve

Topics: Memory Managment, Computer Sciences, Datavetenskap (datalogi)
Publisher: LuleƄ tekniska universitet, Datavetenskap
Year: 2019
OAI identifier: oai:DiVA.org:ltu-76611
Download PDF:
Sorry, we are unable to provide the full text but you may find it at the following location(s):
  • http://urn.kb.se/resolve?urn=u... (external link)
  • Suggested articles


    To submit an update or takedown request for this paper, please submit an Update/Correction/Removal Request.