Hello Andrew,

Sunday, April 20, 2008, 11:41:52 PM, you wrote:

yes, GC behavior has significant impact on any new language (i mean
java, c#, f# and so on)

> 1. Does running the GC force all threads to stop? I know some GC designs
> do this, but I have no idea how the one GHC implements works.

yes

> 2. Is the GC still single-threaded? (GHC 6.8.2 here.)

yes. multi-threaded GC is planned gor next ghc version, afair

> 3. Is there any way for a running Haskell program to find out how much
> heap space is currently allocated / used / free?

i think it's possible by asking internal RTS vars. SM once suggested
to add to GHC library that provides official way to ask this info but
no volunteer was happen :)


-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to