• mikhail.naganov@gmail.com's avatar
    "Deiceolate" Thread classes. · 508b22c4
    mikhail.naganov@gmail.com authored
    Thread class was receiving an isolate parameter by default.
    This approact violates the assumption that only VM threads
    can have an associated isolate, and can lead to troubles,
    because accessing the same isolate from different threads
    leads to race conditions.
    
    This was found by investigating mysterious failures of the
    CPU profiler layout test on Linux Chromium. As almost all
    threads were associated with some isolate, the sampler was
    trying to sample them.
    
    As a side effect, we have also fixed the DebuggerAgent test.
    
    Thanks to Vitaly for help in fixing isolates handling!
    
    R=vitalyr@chromium.org
    BUG=none
    TEST=none
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8259 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    508b22c4
Name
Last commit
Last update
..
SConscript Loading commit data...
count-hosts.js Loading commit data...
lineprocessor.cc Loading commit data...
process.cc Loading commit data...
samples.gyp Loading commit data...
shell.cc Loading commit data...