[project @ 2000-04-11 16:36:53 by sewardj]
Ensure that when Hugs decides to unload a module (nukeModule()), there are no closures anywhere in the system which refers to infotables defined in that module. That means reverting all CAFs and doing a major GC prior to deleting the module. A flag is used to avoid redundant GCs.
Showing
- ghc/includes/StgStorage.h 3 additions, 2 deletionsghc/includes/StgStorage.h
- ghc/interpreter/compiler.c 24 additions, 2 deletionsghc/interpreter/compiler.c
- ghc/interpreter/storage.c 17 additions, 4 deletionsghc/interpreter/storage.c
- ghc/interpreter/storage.h 3 additions, 3 deletionsghc/interpreter/storage.h
- ghc/rts/GC.c 12 additions, 7 deletionsghc/rts/GC.c
- ghc/rts/GC.h 2 additions, 2 deletionsghc/rts/GC.h
- ghc/rts/Schedule.c 10 additions, 4 deletionsghc/rts/Schedule.c
- ghc/rts/StgCRun.c 53 additions, 15 deletionsghc/rts/StgCRun.c
- ghc/rts/Storage.h 2 additions, 2 deletionsghc/rts/Storage.h
Loading
Please register or sign in to comment