Path: utzoo!attcan!uunet!cs.utexas.edu!usc!apple!portal!cup.portal.com!pgl From: pgl@cup.portal.com (Peter G Ludemann) Newsgroups: comp.lang.prolog Subject: Re: GC triggering and stack limit checking by MMU hardware Message-ID: <31903@cup.portal.com> Date: 20 Jul 90 01:38:54 GMT References: <1990Jul19.151524.22544@diku.dk> Organization: The Portal System (TM) Lines: 10 IBM-Prolog has used the memory-trap technique for local and global stack overflow since 1985 or so. An addressing exception triggers garbage collection. The scheme is completely general; the error-catch mechanism can even catch stack overflow errors and do something reasonable with them (for example, I use this as a way of trapping left recursion in a grammar-rule interpreter). - peter ludemann (usual disclaimer)