Re: [MLton] RE: card/cross map in heap

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Matthew Fluet
Date:  
To: Stephen Weeks
CC: Matthew Fluet, mlton@mlton.org
Subject: Re: [MLton] RE: card/cross map in heap
On Thu, 17 Jul 2008, Stephen Weeks wrote:
>> The problem with fixed-heap, though, is that the runtime starts off trying
>> to use the Cheney-copy collector (so, it really grabs 1/2 * 3.5G) and it may
>> be some time before it is forced to use the mark-compact collector
>
> Isn't there some way to force the runtime to start using mark compact
> immediately (or if not, wouldn't it be easy to do)?


There is no direct means. The FORCE_MARK_COMPACT is a debugging constant.
In theory, some appropriate tweaking of the various *-ratio runtime
options should force the mark compact, but the right tweaking isn't
obvious to me.

Yes, it would be pretty easy to put in a forcing control.


_______________________________________________
MLton mailing list

http://mlton.org/mailman/listinfo/mlton