• Irina Yatsenko's avatar
    [tools] Add !rs command to print remembered sets. · 934dd8d7
    Irina Yatsenko authored
    Produces output similar to:
    
    Remembered set in chunk 0x29d0cd40000
      <empty>
    Remembered set in chunk 0x891f200000
      <empty>
    Remembered set in chunk 0x2fb14780000
      bucket 0x1ff381b09d0:
        0x2fb14780128 -> 0x6d7e080119
        0x2fb14780130 -> 0x6d7e080129
        0x2fb14780138 -> 0x6d7e080139
        0x2fb14780140 -> 0x6d7e080149
        0x2fb14780148 -> 0x6d7e080159
        0x2fb14780150 -> 0x6d7e080169
        0x2fb14780158 -> 0x6d7e080179
        0x2fb14780160 -> 0x6d7e080189
        0x2fb14780168 -> 0x6d7e080199
        0x2fb14780170 -> 0x6d7e0801a9
      10 remembered pointers in chunk 0x2fb14780000
    Remembered set in chunk 0x5360700000
      <empty>
    
    0: 000> !rs
    Change-Id: I783322a2648ccba8a27aae72a459c742357e8e11
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1801253
    Commit-Queue: Irina Yatsenko <irinayat@microsoft.com>
    Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#63910}
    934dd8d7
heap-tester.h 5.28 KB