From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17691 invoked by alias); 8 Jan 2003 02:43:13 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17683 invoked from network); 8 Jan 2003 02:43:12 -0000 Received: from unknown (HELO outbound0.sv.meer.net) (205.217.152.15) by 209.249.29.67 with SMTP; 8 Jan 2003 02:43:12 -0000 Received: from mail.meer.net (mail.meer.net [209.157.152.14]) by outbound0.sv.meer.net (8.12.6/8.12.6) with ESMTP id h082gwqC023068; Tue, 7 Jan 2003 18:42:59 -0800 (PST) (envelope-from dmose@mozilla.org) Received: from mozilla.org (dsl081-050-187.sfo1.dsl.speakeasy.net [64.81.50.187]) by mail.meer.net (8.12.1/8.12.1/meer) with ESMTP id h082gwJA004250; Tue, 7 Jan 2003 18:42:58 -0800 (PST) Message-ID: <3E1B9028.5020301@mozilla.org> Date: Wed, 08 Jan 2003 02:43:00 -0000 From: Dan Mosedale User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030102 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz CC: Elena Zannoni , gdb-patches@sources.redhat.com, jimb@redhat.com Subject: Re: [RFA] Kill some linear searches in minsyms.c References: <20030106042203.GA28848@nevyn.them.org> <15897.54742.251353.385541@localhost.redhat.com> <20030107230747.GD20617@nevyn.them.org> In-Reply-To: <20030107230747.GD20617@nevyn.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-01/txt/msg00316.txt.bz2 Daniel Jacobowitz wrote: >On Mon, Jan 06, 2003 at 02:15:34PM -0500, Elena Zannoni wrote: > > >>What command gdb executing at this point? >> >> > >My impression was that we had hit a shared library event (Mozilla >plugins are DSOs, so there's lots of these!). > It's worse than that, actuallly. In fact, 99% of Mozilla's code is in DSOs, of which there are an obscene number. We've got plans to move towards at least a much smaller set of DSOs, but that will take some time. In the meantime, I've been hacking on a gdb patch to add a third setting to auto-solib-add meaning "load symbols as lazily as possible". I'll post a cut at that here once it's in better shape. >Still passes make check, still shaves six seconds (thirty percent or >so) off of "file mozilla-bin; run; exit". Still correctly sets the >longjmp breakpoint once libc has been loaded; I checked that by hand. > Woot! Dan