Duplicated abstraction layers in Firefox

Just about every operating system provides a mechanism for directly allocating and deallocating memory at the page level (ie. not malloc/free or new/delete).  The functions to do this vary from OS to OS: Windows: VirtualAlloc/FreeAlloc. Posix (e.g. Mac and Linux): mmap/munmap. Mac also has: vm_allocate/vm_deallocate. So it’s very natural to add an abstraction layer: your … Continue reading Duplicated abstraction layers in Firefox