Residency profiles

Simon Peyton Jones simonpj at
Thu Dec 6 11:52:38 UTC 2018

|  Right. A parameter for fixing the nursery size would be easy to implement,
|  I think. Just a new flag, then in GC.c:resize_nursery() use the flag as the
|  nursery size.

Super!  That would be v useful.

|  "Max. residency" is really hard to measure (need to do very frequent GCs),
|  perhaps a better question to ask is "residency when the program is in state
|  S".

Actually, Sebastian simply wants to see an accurate, reproducible residency profile, and doing frequent GCs might well be an acceptable cost.  


More information about the ghc-devs mailing list