vm: don't send foreign samples to outer space

db4
Joe Groff 2011-11-08 13:59:12 -08:00
parent 786bba8a63
commit 820fd6417d
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ void sample_signal_handler(int signal, siginfo_t *siginfo, void *uap)
vm->safepoint.enqueue_samples(vm, 1, (cell)UAP_PROGRAM_COUNTER(uap), false);
else if (thread_vms.size() == 1) {
factor_vm *the_only_vm = thread_vms.begin()->second;
the_only_vm->safepoint.enqueue_samples(vm, 1, (cell)UAP_PROGRAM_COUNTER(uap), true);
the_only_vm->safepoint.enqueue_samples(the_only_vm, 1, (cell)UAP_PROGRAM_COUNTER(uap), true);
}
}