Path: utzoo!mnetor!tmsoft!torsqnt!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!ANDREW.CMU.EDU!zs01+ From: zs01+@ANDREW.CMU.EDU (Zalman Stern) Newsgroups: comp.soft-sys.andrew Subject: Re: "doload_preset" doesn't zero out BSS it allocates? Message-ID: Date: 24 Nov 89 23:35:36 GMT References: <2662@auspex.auspex.com> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 20 auspex!guy@uunet.uu.net (Guy Harris) writes: [ Bug report indicating that the class dynamic loader doesn't zero common storage blocks. ] > > Is this a performance issue? It already calls "malloc" for each common > anyway; does adding a call to "bzero" make things noticeably worse? Thanks for finding this. It is certainly not a performance issue. Rather it is a bug inherited from the orignal coding of the dynamic loader which I have looked for a number of times but never found. Either the bug was sufficiently subtle, or I wasn't looking hard enough... I think think this explains a lot of problems we have had. I'll see if I can get the fix on to the tape up at MIT. If not we will try to do it as a patch I guess. Sincerely, Zalman Stern Internet: zs01+@andrew.cmu.edu Usenet: I'm soooo confused... Information Technology Center, Carnegie Mellon, Pittsburgh, PA 15213-3890