This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: performance of multithreading gets gradually worse under gdb
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb at sourceware dot org
- Cc: Tom Tromey <tromey at redhat dot com>, "Ulrich Weigand" <uweigand at de dot ibm dot com>, Markus Alber <markus at hyperion-imrt dot org>, Michael Snyder <msnyder at vmware dot com>, gdb-patches at sourceware dot org
- Date: Fri, 4 Feb 2011 15:55:51 +0000
- Subject: Re: performance of multithreading gets gradually worse under gdb
- References: <201102032140.p13Le89f031563@d06av02.portsmouth.uk.ibm.com> <201102041455.20607.pedro@codesourcery.com> <m34o8jddod.fsf@fleche.redhat.com>
[Adding gdb-patches@]
On Friday 04 February 2011 15:25:54, Tom Tromey wrote:
> Pedro> Yeah. And only clear current_regcache_ptid if it was deleted in the
> Pedro> first place; and only reinit the frame cache if we deleted the
> Pedro> regcache of inferior_ptid ? Like the patch below.
>
> Yeah, this looks reasonable to me.
Okay, thanks, I've applied it.
> One somewhat distressing thing is that my patch did not cause any
> regressions.
Indeed.
--
Pedro Alves