• 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
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
preparser Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
ChangeLog Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
SConstruct Loading commit data...