home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / programm / 18737 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.5 KB  |  43 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!umeecs!umn.edu!csus.edu!netcom.com!creiman
  3. From: creiman@netcom.com
  4. Subject: Re: Whip me, beat me, what to do with DISCIPLINE?
  5. Message-ID: <1992Nov20.225517.15649@netcom.com>
  6. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  7. References: <1992Nov19.011329.23589@bnr.ca> <1992Nov19.180531.4442@netcom.com> <04Mv02u32cgm01@JUTS.ccc.amdahl.com>
  8. Date: Fri, 20 Nov 1992 22:55:17 GMT
  9. Lines: 32
  10.  
  11. rla20@duts.ccc.amdahl.com (Roger Allen) writes:
  12.  
  13. >In article <1992Nov19.180531.4442@netcom.com> creiman@netcom.com writes:
  14. >>   try your app under EvenBetterBusErr, Xap handles, Blat, or heap 
  15. >>   scrambling. Unlike Discipline, these have all proven their worth.
  16. >>   (Leaks is pretty good too).
  17. >>
  18. >>Chao,
  19. >>
  20. >>Charlie.
  21.  
  22. >What are Xap and Blat?  I haven't heard of these before.
  23.  
  24. Xap clears handle and pointer blocks to bus error values when
  25. disposed.  It's handy for catching references to freed structures.
  26. Unfortunately, it doesn't pre-clear freshly allocated blocks to bus
  27. error values; which is handy for catching improperly initialized
  28. structures. If you use private glue to call the system's memory
  29. manager, you can write these utilties into your app for development,
  30. then strip them out when release time comes around.
  31.  
  32. Blat uses protected memory mode of the MMU to protect the low level
  33. vectors.  Basiclly, a fool-proof EBBE. This power has a price: you
  34. can't use VM with it.
  35.  
  36. Have fun,
  37.  
  38. Charlie.
  39.  
  40. -- 
  41. Charlie Reiman
  42. creiman@netcom.com
  43.