• lpy's avatar
    Get rid of UnsafeCurrent in Sampler · ff7e6def
    lpy authored
    Currently we are using UnsafeCurrent in async signal handler to acquire the
    isolate of VM thread, but we want to get rid of that since it prevents V8 from
    being thread agnostic.
    
    This patch replaces UnsafeCurrent with a static map, where we store a map of
    samplers for threads, and makes it accessible by signal handler.
    
    BUG=v8:4889
    LOG=n
    
    Review URL: https://codereview.chromium.org/1900473002
    
    Cr-Commit-Position: refs/heads/master@{#35722}
    ff7e6def
Name
Last commit
Last update
..
allocation-tracker.cc Loading commit data...
allocation-tracker.h Loading commit data...
circular-queue-inl.h Loading commit data...
circular-queue.h Loading commit data...
cpu-profiler-inl.h Loading commit data...
cpu-profiler.cc Loading commit data...
cpu-profiler.h Loading commit data...
heap-profiler.cc Loading commit data...
heap-profiler.h Loading commit data...
heap-snapshot-generator-inl.h Loading commit data...
heap-snapshot-generator.cc Loading commit data...
heap-snapshot-generator.h Loading commit data...
profile-generator-inl.h Loading commit data...
profile-generator.cc Loading commit data...
profile-generator.h Loading commit data...
sampler.cc Loading commit data...
sampler.h Loading commit data...
sampling-heap-profiler.cc Loading commit data...
sampling-heap-profiler.h Loading commit data...
strings-storage.cc Loading commit data...
strings-storage.h Loading commit data...
unbound-queue-inl.h Loading commit data...
unbound-queue.h Loading commit data...