Lisp HUG Maillist Archive

GC in 64-bit lispworks

I've just started playing around with 64-bit (linux) lispworks, and
so far I'm really amazed by the speed and quality of this beast.

I've tried to read the documentation of the new GC scheme, but I'm
still not sure if I understand how  it's working. Specifically, I'm
not sure if I need to do any manual collection of long-lived objects
in 64-bit lispworks (in 32-bit lispworks, I do a mark-and-sweep
every now and then)...?
-- 
  (espen)


Re: GC in 64-bit lispworks

Espen Vestre <ev@netfonds.no> writes:

> still not sure if I understand how  it's working. Specifically, I'm
> not sure if I need to do any manual collection of long-lived objects
> in 64-bit lispworks (in 32-bit lispworks, I do a mark-and-sweep
> every now and then)...?

What I really wanted to ask is whether the blocking generation is
collected automatically, I guess...
-- 
  (espen)


Re: GC in 64-bit lispworks

Martin Simmons <martin@lispworks.com> writes:

> Yes, it can -- see SYSTEM:SET-GEN-NUM-GC-THRESHOLD.  

Ah, thanks!  So since the default value for all generations is 1, even
the blocking generation will be automatically collected as soon as its
allocation is doubled?
-- 
  (espen)


Re: GC in 64-bit lispworks

Unable to parse email body. Email id is 5978

Updated at: 2020-12-10 08:47 UTC