- We have Virtual Machine like JVM or something like that , in code this object called Virtual Memory.
- Virtual Machine can keep objects , in my abstract Virtual Machine they calls Object_t.
- Virtual Machine have Using Memory , objects in using memory can't destroy while Virtual Machine working , in code it's called UsingMemory_t.
- Which objects can be using ? In my abstract programming language , object using <=> when it has parent or it has reference to another object.
- After creating objects in Virtual Machine , we can call gc , which scanning all object of Virtual Machine and marks using objects (objects in Using Memory). After programm calls sweep function which delete unusing objects.
-
Notifications
You must be signed in to change notification settings - Fork 0
Alexseij/garbage-collector
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Simple GC.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published