[MLton] RE: card/cross map in heap
Matthew Fluet
fluet at tti-c.org
Thu Jul 17 16:22:32 PDT 2008
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.
More information about the MLton
mailing list