v8/samples
mikhail.naganov@gmail.com 508b22c436 "Deiceolate" Thread classes.
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
2011-06-10 09:54:04 +00:00
..
count-hosts.js Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
lineprocessor.cc Mark up debugger support in sample file 2010-04-09 13:02:25 +00:00
process.cc Add support for building Xcode project files from GYP files 2011-06-09 09:07:17 +00:00
samples.gyp Initial attempt to add support for using gyp to build V8 itself 2010-12-14 08:16:39 +00:00
SConscript Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
shell.cc "Deiceolate" Thread classes. 2011-06-10 09:54:04 +00:00