Skip to content

uoubyy/HeapManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HeapManager

This project is an implement of heap allocator. Its job is to manage allocation and deallocation of addresses for a given block of memory.

Features

  1. Work well in both x86 and x64.
  2. Support address alignment.
  3. Has multi Fixed Size Allocators and a Genral Allocator inside. Use the Fixed Size Allocator to cover most small size (64KB, 128KB and 256KB) allocation and use the General Allocator to cover other situations.
  4. Dynamic garbage collection and compact structure. In the General Allocator, allocation start from the end of the internal heap, and use the top of the heap to place memory description blocks. Every allocation use first fit strategy, automatic collect and merge garbage after release.
  5. Support using Guardbands to check data overflow.
  6. Use BitArray to track the used situation of memory block in the Fixed Size Allocator.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages