Hi,

I saw a lot of paches about changing the memory allocation behaviour of
JavaScriptCore, and would like to start a discussion about the long term
purpose of these changes. If I understand corectly, the aim is to limit
the memory consumption of JavaScripCore to a certain level, and keep the
browser alive when a bad code tries to allocate a huge memory area and the
browser forced to crash (is it?).

In practice we could build a sandbox around JavaScriptCore (maybe one for
each page) and keep every allocation there isn'it? This pobably mmap-ed
region could be used by ExecutableAllocator, GarbageCollector, and by
other regular allocations.

I also saw a patch about moving garbage collector, that is also an
interesting area.

Regards,
Zoltan


_______________________________________________
squirrelfish-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/squirrelfish-dev

Reply via email to