Article View: comp.lang.prolog
Article #1001Re: GC triggering and stack limit checking by MMU hardware
From: Peter G Ludemann
Date: Fri, 20 Jul 1990 01:38
Date: Fri, 20 Jul 1990 01:38
10 lines
813 bytes
813 bytes
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)
Technical Details
Message-ID:
<31903@cup.portal.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!usc!apple!portal!cup.portal.com!pglReferences:
<1990Jul19.151524.22544@diku.dk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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