Re: tecomp 0.6 released



On Dec 7, 4:51 pm, Andrew Reilly <andrew-newsp...@xxxxxxxxxxxx
users.org> wrote:
On Sun, 07 Dec 2008 09:02:12 -0800, Helmut wrote:
If you want garbage collection, you get some overhead for it (but it is
a rather small offset, nothing that grows with the code).

Some compilers/runtimes generate helper functions that know where the
pointers are, both in object records *and* in stack frames. This allows
exact, rather than conservative collection, I believe. This probably
introduces a code-proportional overhead. Of course this can probably be
data driven too: classic performance/size trade-off.

Cheers,

--
Andrew

Hello Andrew,

from my point of view you don't need code proportional information if
you want to do "exact" garbage collection. The only thing you need is
layout information about the objects (i.e. is an attribute of an
object an expanded type object or a pointer?). Conservative collection
does not need that information. It looks at each word on the stack as
a potential pointer to an object. Therefore it is possible to mark
objects as "referenced" because of an integer on the stack that by
coincidence interpreted as a pointer "points" to a dead object.

Regards
Helmut
.



Relevant Pages

  • Re: I feel stupid... "Invalid combination of opcode and operand", was, now is FORTH question
    ... TOS in ebx - top of stack - first stack element ... PSP in ebp - parameter stack pointer - pointer to stack, ... execute next at the end of their definition. ... High level Forth definitions merely organize the ...
    (comp.lang.asm.x86)
  • Re: win32 call dword ptr [eax] help needed
    ... I am kind of unsure as to how one would tell if this is in the heap or the stack. ... Anyone got any good documents on overwriting the SEH in a multithreaded application? ... >vtable directly, you are overwriting a pointer to an object, may be ... >talking about reliability we should ponder all options, ...
    (Vuln-Dev)
  • Re: MSL16 & FPGA Forth Processors
    ... make sense to have as a goal to use a "forth" cpu. ... C will run on a 6808 that has only one stack ... pointer and one data pointer. ... you won't have any register left over to use as a data-stack ...
    (comp.lang.forth)
  • Re: bitcopy in delphi.
    ... > The pointer type can handle anything. ... Your code uses more stack space than mine. ... push ebx ... mov, edx ...
    (alt.comp.lang.borland-delphi)
  • [0xbadc0ded #04] smtp.proxy <= 1.1.3
    ... A remotely exploitable format string vulnerability exists in smtp.proxy ... Since the 'line' buffer is ... Since smtp.proxy is started from a superserver, like inetd, the stack ... To determine the address of a function pointer we could either try to ...
    (Bugtraq)