• zhengxing.li's avatar
    X87: [heap] Move to page lookups for SemiSpace, NewSpace, and Heap containment methods. · d72bd654
    zhengxing.li authored
      port cfbd2561(r33857)
    
      original commit message:
      Preparing the young generation for (real) non-contiguous backing memory, this
      change removes object masks that are used to compute containment in semi and new
      space. The masks are replaced by lookups for object tags and page headers, where
      possible.
    
      Details:
      - Use the fast checks (page header lookups) for containment in regular code.
      - Use the slow version that masks out the page start adress and iterates all
        pages of a space for debugging/verification.
      - The slow version works for off-heap/unmapped memory.
      - Encapsulate all checks for the old->new barrier in Heap::RecordWrite().
    
    BUG=
    
    Review URL: https://codereview.chromium.org/1698803002
    
    Cr-Commit-Position: refs/heads/master@{#33970}
    d72bd654
macro-assembler-x87.cc 96.7 KB