home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!cs.utexas.edu!uwm.edu!linac!att!news.cs.indiana.edu!umn.edu!csus.edu!netcom.com!nagle
- From: nagle@netcom.com (John Nagle)
- Subject: Re: Heap scrambling in MacsBug?
- Message-ID: <1993Jan9.185105.25104@netcom.com>
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- References: <Jan09.050251.40508@yuma.ACNS.ColoState.EDU>
- Date: Sat, 9 Jan 1993 18:51:05 GMT
- Lines: 12
-
- cantrell@lamar.ColoState.EDU (Carol Cantrell) writes:
-
- >What is HEAP SCRAMBLING in MacsBug (hs command)?? What is it for?
-
- It's a way to test that an application does not retain references to
- unlocked handles. With heap scrambling turned on, requests for heap space
- result in some unnecessary movement of objects on the heap. This tends
- to break programs which reference unlocked handles. It thus makes it
- more likely that incorrect programs will fail.
-
- John Nagle
-
-