This is the Linux app named Tiny Garbage Collector whose latest release can be downloaded as tgcsourcecode.zip. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named Tiny Garbage Collector with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS
Ad
Tiny Garbage Collector
DESCRIPTION
Tiny Garbage Collector for C is implemented in roughly 500 lines of code. It uses a conservative, thread-local mark-and-sweep strategy to reclaim unreachable allocations automatically. Memory allocated through its API can still be manually released when deterministic cleanup is required. Developers can register destructors that run immediately before managed objects are freed. Garbage collection normally runs after allocation thresholds are reached, but it can also be triggered, paused, or resumed manually. Special root allocations can be preserved even when they are not reachable through the usual stack or managed-memory rules. Its small codebase makes tgc useful for embedded experiments, language runtimes, and learning how garbage collectors work.
Features
- Thread-local memory management
- Automatic unreachable allocation cleanup
- Manual collection and freeing
- Conservative mark-and-sweep collection
- Registered destructors
- Persistent root allocations
Programming Language
C
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/tiny-garbage-collector.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.