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

Top Pagina
Bijlagen:
Bericht als e-mail
+ (text/plain)
Delete this message
Reply to this message
Auteur: Matthew Fluet
Datum:  
Aan: Stephen Weeks
CC: Matthew Fluet, mlton@mlton.org
Onderwerp: 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