Created
October 5, 2017 03:39
-
-
Save iskakaushik/1eb81a52fc82d2710e4b34b453870780 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Arena { | |
List<Thread> threads; // Threads that this arena is associated with | |
List<Chunk> chunks; // Chunks that this arena manages | |
Lock lock; // guard accesses to various things in this arena. | |
RBTree<Run> runsAvailClean; // let's talk about runs in a little bit. | |
// clean vs dirty = free zeroed data (calloc) vs free dirty data (malloc). | |
RBTree<Run> runsAvailDirty; | |
List<Bin> bins; // we will look at Bins soon. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment