Some questions about GHC source code and wiki
marlowsd at gmail.com
Wed Jun 2 04:09:18 EDT 2010
On 27/05/2010 12:48, Marco Túlio Gontijo e Silva wrote:
> Excerpts from Simon Marlow's message of Qui Mai 27 05:38:16 -0300 2010:
>> I suggest we allocate medium objects in a separate space entirely, and
>> maybe just copy them as normal, rather than using mark/sweep on them.
> You mean there will be two types of blocks: blocks with small objects allocated
> on the free lines and blocks of medium objects?
Yes. (though I'm open to better suggestions if you have any)
>> If you're a bit lost, one way to get acquainted is to start adding print
>> statements to the code so you can get a better idea of what's going on
>> at each point. e.g., you might want to try printing out each object as
>> it is evacuated. I find this kind of hands-on approach much more
>> illuminating than staring at the code.
> Good suggestion, I'll start doing that.
I saw your blog post - great that you're making progress!
More information about the Cvs-ghc