Coder Social home page Coder Social logo

mrminemeet / memorymanagement Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 160 KB

Memory Management with First-Fit Free-List and a DSW Mark& & Sweep GC

License: MIT License

CMake 1.01% C++ 98.99%
garbage-collector mark-and-sweep free-list memory-management dsw

memorymanagement's Introduction

Memory Management

The Project for the LVA System Software @JKU Linz by Prof. Hanspeter Mössenböck.

The project is performed by @BioGustav aka. Tobias and myself (MrMinemeet aka. Alex)

Task description:

  1. Create a memory management system which utilizes a free list in first-fit configuration
  2. Implement a Mark & Sweep algorithm based on Deutsch-Schorr-Waite
  3. Create a small real-world application to test the implementation of task 1. and 2.

Full Task Description: MemoryManagementProject.pdf

All the tasks are basically fulfilled, with some minor… lets call it "adjustments".

How to build?

Use cmake --build ..

Things that didn't make it

  • Creating a static version of the heap. We use a single instance in a global variable instead.
  • Return proper pointer, meaning that at the moment the address of the header is returned. When being precise, it should have been the beginning of the actual data part. We missed that and reworking quite a bunch of the code would be too time consuming.
  • Definitly not writing more readable and nice code 😉 (but it could be worse)

memorymanagement's People

Contributors

biogustav avatar mrminemeet avatar

Watchers

 avatar

Forkers

biogustav

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.