[Oberon] SystemV- Heap + Module Space

Tomas Kral thomas.kral at email.cz
Sun Dec 30 21:55:51 CET 2018


On Sun, 30 Dec 2018 21:11:48 +0100
Andreas Pirklbauer <andreas_pirklbauer at yahoo.com> wrote:

> One small change you could introduce to your system is to change
> Modules.Mod ...

Hi Andreas,

Thank you, good coding, I will give it a try. I am thinking why the link
loader starts at higher addresses to find first fit whatever big.
Should it not start at lower end with first unused gap? (the other way
round)

EDIT, pls see pict. Cannot load compiler, that was loaded closer to
Sytem module, now it tries to allocate from the other end, requesting
new space for ORG, resulting in insufficient space.

I am also thinking of different strategy, finding best fit
upwards, leaving too big gaps?
Not sure if this makes sense, I need to first reread chapters on link
loading (module loader).
If this strategy makes sense, and is not too complicated to code, then
no compaction (module store reclaim) is needed.


-- 
Tomas Kral <thomas.kral at email.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rgb.png
Type: image/png
Size: 13425 bytes
Desc: not available
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20181230/85624776/attachment.png>


More information about the Oberon mailing list