help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Query regarding Parser stack


From: Hans Aberg
Subject: Re: Query regarding Parser stack
Date: Fri, 29 Oct 2004 20:13:47 +0200
User-agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6

At 14:26 +0200 2004/10/12, Laurence Finston wrote:
>> Can anybody please clarify that is there any other method to increase
>> the stack size other than changing the static way?

>The only forms of memory allocation are static (in the data segment of
>the executable), automatic (on the program stack), and dynamic (on the
>free store).

There are a few more: In "registers", libraries, files, ... And these makes
a difference when implementing a GC: For example, the "registers", which are
used for temporaries (which may be allocated on the heap, despite the name),
should be registered as root objects to a tracing GC, but (other) free store
objects should not. The fact that one cannot distinguish between these in an
automated manner in C++, makes it very difficult to implement a GC in C++
(other than a reference count).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]