[project @ 2003-05-16 14:16:53 by simonmar]
authorsimonmar <unknown>
Fri, 16 May 2003 14:16:53 +0000 (14:16 +0000)
committersimonmar <unknown>
Fri, 16 May 2003 14:16:53 +0000 (14:16 +0000)
heapCensus should grok IND_OLDGEN objects, because compacting GC
doesn't always eliminate them (perhaps it should).

ghc/rts/ProfHeap.c

index 3752543..e0979a4 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: ProfHeap.c,v 1.45 2003/03/24 14:46:55 simonmar Exp $
+ * $Id: ProfHeap.c,v 1.46 2003/05/16 14:16:53 simonmar Exp $
  *
  * (c) The GHC Team, 1998-2003
  *
@@ -836,6 +836,7 @@ heapCensusChain( Census *census, bdescr *bd )
            case FUN:
            case THUNK:
            case IND_PERM:
+           case IND_OLDGEN:
            case IND_OLDGEN_PERM:
            case CAF_BLACKHOLE:
            case SE_CAF_BLACKHOLE: