Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Side by Side Diff: base/allocator/partition_allocator/PartitionAlloc.md

Issue 2518253002: Move Partition Allocator into Chromium base. (Closed)
Patch Set: Move OOM_CRASH into its own, more specific header. Fixes Windows build. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # PartitionAlloc Design 1 # PartitionAlloc Design
2 2
3 This document explains a high-level design of PartitionAlloc. 3 This document explains a high-level design of PartitionAlloc.
4 If you're interested in its in-depth implementation, see comments 4 If you're interested in its in-depth implementation, see comments
5 in PartitionAlloc.h. 5 in PartitionAlloc.h.
6 6
7 [TOC] 7 [TOC]
8 8
9 ## Overview 9 ## Overview
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 Linear overflow or underflow cannot corrupt the metadata. 88 Linear overflow or underflow cannot corrupt the metadata.
89 89
90 * Buckets are helpful to allocate different-sized objects on different addresses . 90 * Buckets are helpful to allocate different-sized objects on different addresses .
91 One page can contain only similar-sized objects. 91 One page can contain only similar-sized objects.
92 92
93 * Dereference of a freelist pointer should fault. 93 * Dereference of a freelist pointer should fault.
94 94
95 * Partial pointer overwrite of freelist pointer should fault. 95 * Partial pointer overwrite of freelist pointer should fault.
96 96
97 * Large allocations are guard-paged at the beginning and end. 97 * Large allocations are guard-paged at the beginning and end.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698