Bug 1239413. Clarify comment about the context flags.

This commit is contained in:
Jeff Muizelaar 2016-01-13 14:23:38 -05:00
parent d07b0750ba
commit f020f6e101

View File

@ -188,8 +188,8 @@ class SamplerThread : public Thread {
if (SuspendThread(profiled_thread) == kSuspendFailed)
return;
// CONTEXT_CONTROL is faster but we can't use it on 64-bit because it
// causes crashes in RtlVirtualUnwind (see bug 1120126).
// Using only CONTEXT_CONTROL is faster but on 64-bit it causes crashes in
// RtlVirtualUnwind (see bug 1120126) so we set all the flags.
#if V8_HOST_ARCH_X64
context.ContextFlags = CONTEXT_FULL;
#else