Skip to content

Instantly share code, notes, and snippets.

@iskakaushik
Created October 5, 2017 03:40
Show Gist options
  • Save iskakaushik/978892fed115fcc8aafd6a059a3c3504 to your computer and use it in GitHub Desktop.
Save iskakaushik/978892fed115fcc8aafd6a059a3c3504 to your computer and use it in GitHub Desktop.
class Chunk {
Arena arena; // Arena that this chunk is associated with
boolean dirtied; // this is set if the chunk has ever been dirtied
List<Run> runs;
// metadata about free pages for a region size
RBTreeMultimap<RegionSize, Page> freePages;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment