Skip to content
  • ssid's avatar
    [tracing] Add thread name to the pseudo stack of heap profiler · b3fabc66
    ssid authored
    The thread name that allocated the memory is very useful to understand
    the memory usage of the process. This CL adds it to the top of the
    pseudo stack trace.
    The name is set from ThreadIdNameManager since it leaks the thread name.
    Since getting the name from AllocationContextTracker can cause rentrancy
    into ThreadIdNameManager, the name is passed from ThreadIdNameManager.
    
    BUG=594803
    
    Review URL: https://codereview.chromium.org/1814083002
    
    Cr-Commit-Position: refs/heads/master@{#384484}
    b3fabc66