home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / introduc / 1157 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.6 KB

  1. Path: sparky!uunet!zephyr.ens.tek.com!uw-beaver!dylan
  2. From: dylan@cs.washington.edu (Dylan McNamee)
  3. Newsgroups: comp.sys.amiga.introduction
  4. Subject: Re: What is "enforcer" and "low memory"?
  5. Message-ID: <1992Aug13.214646.17578@beaver.cs.washington.edu>
  6. Date: 13 Aug 92 21:46:46 GMT
  7. References: <14250@mindlink.bc.ca>
  8. Sender: news@beaver.cs.washington.edu (USENET News System)
  9. Organization: Computer Science & Engineering, U. of Washington, Seattle
  10. Lines: 31
  11.  
  12.  
  13. If a program was written poorly, in exceptional (or normal!) cases,
  14. it may indirect through a null structure pointer.  This means that the 
  15. program "thinks" it is dealing with a proper structure, but it's 
  16. really poking around in "low memory". 
  17.  
  18. One way to make sure that your own programs don't do this is to run
  19. enforcer while running them.  Enforcer uses the MMU to un-map the low
  20. pages from a program's address space, and prints out alerts when these
  21. pages are touched.  It is generally regarded as a good practice to make
  22. sure your program runs without making enforcer print anything before 
  23. it is released as a product.
  24.  
  25. Generally, if a released program (commercial or shareware or freeware)
  26. does cause enforcer warnings (called "enforcer hits" by programmers) it is
  27. a sign that the program isn't fully polished.  Not Quite Ready For Prime
  28. Time.
  29.  
  30. One reason people care about this is that programs that misbehave in this way
  31. can cause system crashes in unpredictable ways when many programs are running
  32. at once.
  33.  
  34. hope this helps--
  35.  
  36. dylan
  37.       /L      dylan mcnamee        dylan@cs.washington.edu
  38.      /  L    
  39.    (o)   L   "Don't look at me...I didn't do it!"  K. T. Clown.
  40.    C (o) /     
  41.   /__   /     
  42.     \__/     
  43.