Description[heap,snapshot] Replace first page size from snapshots with page trimming
Replace first page size in the snapshots with a heap logic that trims pages
after deserialization. The snapshot provided page sizes was just an
approximation, while the heap knows exactly where to trim.
Furthermore, trim the pages directly after deserialization, leaving no wiggle
room for further objects. This avoids pollution of the immortal immovable pages
with regular objects, e.g. Contexts. The downside is that we potentially require
expanding the space with a new page.
BUG=chromium:636331
Committed: https://crrev.com/ed8791ea65ea1f37520a5ef71b3ae10150329ed3
Cr-Commit-Position: refs/heads/master@{#39200}
Patch Set 1 #Patch Set 2 : Fix current tests and add shrinking tests #Patch Set 3 : Copy over fixes for TestAlignedOverAllocation #Patch Set 4 : Add print for debugging #Patch Set 5 : Remove debugging print #
Messages
Total messages: 34 (28 generated)
|