HomePhabricator

[COFF] De-virtualize Chunk and SectionChunk

Authored by rnk on May 24 2019, 1:25 PM.

Description

[COFF] De-virtualize Chunk and SectionChunk

Shaves another pointer off of SectionChunk, reducing the size from 96 to
88 bytes, down from 144 before I started working on this. Combined with
D62356, this reduced peak memory usage when linking chrome_child.dll
from 713MB to 675MB, or 5%.

Create NonSectionChunk to provide virtual dispatch to the rest of the
chunk types.

Reviewers: ruiu, aganea

Differential Revision: https://reviews.llvm.org/D62362

llvm-svn: 361667

Details

Committed
rnkMay 24 2019, 1:25 PM
Differential Revision
D62362: [COFF] De-virtualize Chunk and SectionChunk
Parents
rG96f02a8db843: [Process] Clean up some logic around LanguageRuntimes
Branches
Unknown
Tags
Unknown