From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4a5f04fa4207fc8e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-28 06:50:40 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!titan03.ksc.nasa.gov!niven.ksc.nasa.gov!usenet From: "Samuel T. Harris" Newsgroups: comp.lang.ada Subject: Re: memory pool for entire ada program Date: Tue, 28 Aug 2001 08:41:45 -0500 Organization: Raytheon Aerospace Engineering Services Message-ID: <3B8B9F99.FC4F28C9@gsde.hou.us.ray.com> References: <9m5jod$o8o$1@ns.omskelecom.ru> Reply-To: samuel_t_harris@raytheon.com NNTP-Posting-Host: sstf-fw.jsc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.7 [en] (X11; U; IRIX64 6.2 IP19) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:12513 Date: 2001-08-28T08:41:45-05:00 List-Id: Dmitriy Anisimkov wrote: > > Is it possable to set default memory pool in the GNAT ? > Do I have to rebuild run-time library sources for this ? > > I need to know where is the memory leak, > in the ada code or in the C library, used in my program. > > If i could change default storage pool, > I could see is that memory leak in my ada part or not. > > Thanks. Given a general storage pool of your own devising, you could write a small ASIS-based tool to insert the appropriate rep clause at all your access type definitions forcing all of them to use your storage pool. Similarly, another ASIS-based tool can be use to rip or comment them out when you are through. -- Samuel T. Harris, Senior Software Engineer II Raytheon, Aerospace Engineering Services "If you can make it, We can fake it!"