• Albert J. Wong's avatar
    Shatter partition_alloc.h into smaller files. · a4c19797
    Albert J. Wong authored
    partition_alloc.h has been a dumping ground for all objects related to
    PartitonAlloc. The original code used many inlined top-level functions
    making the implementation very coupled. This splits out most of the
    critical clusters of functionality into separate files with roughly
    one struct/class per file.
    
    The split makes the module layering and interaction boundaries much clearer.
    Because of the heavy use of inlining, and the highly coupled nature of the
    original code, it was not possible to make a clean split yet between
    declaration and implementation. Therefore, this splitting required introducing
    "-inl.h" files because too many of these objects reached direclty into each
    others's fields. These "-inl.h" files can likely be reduced in future
    refactors.
    
    Bug: 766882
    Change-Id: Iceeccc64a1d810a68cedfb28599dfbcf66642b98
    Reviewed-on: https://chromium-review.googlesource.com/1006154Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
    Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
    Reviewed-by: default avatarChris Palmer <palmer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#555118}
    a4c19797
partition_bucket-inl.h 2.89 KB