Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

V8: avoid deadlock when profiling is active #25309

Closed
wants to merge 1 commit into from

Commits on Jun 10, 2015

  1. V8: avoid deadlock when profiling is active

    A deadlock happens when sampler initiated by SIGPROF tries to lock
    the thread and the thread is already locked by the same thread. As
    a result, other thread involved in sampling process hangs. The
    patch adds a check for thread lock before continuing sampler
    operation.
    
    The fix has been tested on a sample app under load with and without
    profiling turned on.
    
    Fixes issue nodejs#14576 and specifically the duplicate issue nodejs#25295
    dmelikyan committed Jun 10, 2015
    Configuration menu
    Copy the full SHA
    4e1b4d6 View commit details
    Browse the repository at this point in the history