Garbage collection of binaries

Joachim Durchholz joachim.durchholz@REDACTED
Sun Oct 19 01:45:20 CEST 2003


Shawn Pearce wrote:
> Perhaps add a total 'large binary' size to the process structure.
> 
> [...]

Keeping the total size of all binaries up-to-date should be easier if 
the total is updated when the binary is allocated or deallocated.
This also keeps the complications of detecting block types etc. out of 
the GC loop and moves them to the code that creates and destroys blocks 
- which is much better modularity.

An even more modular approach would be to make the binaries normal 
citizens of garbage collected memory. This would also simplify the 
emulator code, I'd think :-)

Regards,
Jo




More information about the erlang-questions mailing list