- 15 Mar, 1999 1 commit
-
-
simonm authored
Remove flags field from info tables; create a separate table of flags indexed by the closure type in the RTS.
-
- 09 Mar, 1999 1 commit
-
-
sewardj authored
Include CAF_ENTEREDs on the mutables list so they get scavenged correctly.
-
- 02 Mar, 1999 1 commit
-
-
sof authored
When putting the RTS in a DLL, we have to delay filling in the Charlike and Intlike tables until load-time.
-
- 11 Feb, 1999 1 commit
-
-
simonm authored
- s/finalise/finalize/g - make finalize run the finalizer immediately, and wait for its completion - make mkWeak take a (Maybe (IO ())) for the finalizer argument - remove mkWeakNoFinalizer
-
- 05 Feb, 1999 2 commits
- 02 Feb, 1999 1 commit
-
-
simonm authored
- Add ticky counter for total bytes copied during GC. - Separate mutable list into two lists, a "mut once" list for old generation indirections and MUT_CONS cells, and a "mut many" list for mutable arrays, TSOs etc. Objects on the "mut once" list will be eagerly promoted.
-
- 01 Feb, 1999 1 commit
-
-
simonm authored
- Add finalise# - Add mkWeakNoFinaliser - Move deRefWeak# from an out-of-line primop to an inline one.
-
- 27 Jan, 1999 1 commit
-
-
simonpj authored
Finally! This commits the ongoing saga of Simon's hygiene sweep FUNCTIONALITY ~~~~~~~~~~~~~ a) The 'unused variable' warnings from the renamer work. b) Better error messages here and there, esp type checker c) Fixities for Haskell 98 (maybe I'd done that before) d) Lazy reporting of name clashes for Haskell 98 (ditto) HYGIENE ~~~~~~~ a) type OccName has its own module. OccNames are represented by a single FastString, not three as in the last round. This string is held in Z-encoded form; a decoding function decodes for printing in user error messages. There's a nice tight encoding for (,,,,,,,,,,,,,,,,,,,,,,,,,,,,,) b) type Module is a proper ADT, in module OccName c) type RdrName is a proper ADT, in its own module d) type Name has a new, somwhat tidier, representation e) much grunting in the renamer to get Provenances right. This makes error messages look better (no spurious qualifiers)
-
- 26 Jan, 1999 1 commit
-
-
simonm authored
- Add Stable Names - Stable pointers and stable names are now both provided by the "Stable" module in ghc/lib/exts. Documentation is updated, and Foriegn still exports the stable pointer operations for backwards compatibility.
-
- 21 Jan, 1999 1 commit
-
-
simonm authored
Resurrect ticky-ticky profiling. Not quite polished yet, but it compiles and produces some reasonable-looking stats.
-
- 18 Jan, 1999 1 commit
-
-
simonm authored
- BLACKHOLE_BQ is a mutable object, because new threads get added to its blocking_queue field. Hence add a mut_link field and treat it as mutable in the garbage collector. - Change StgBlackHole to StgBlockingQueue while I'm at it. - Optimise evacuation of black holes: don't copy the padding words, just skip over them. - Several garbage collection fixes. - Improve sanity checking: now the older generations are fully checked at each GC.
-
- 15 Jan, 1999 2 commits
-
-
simonm authored
- Add new object BLACKHOLE_BQ: now a BLACKHOLE is defined as having an empty blocking queue, and the first time a thread blocks on a BLACKHOLE it is changed into a BLACKHOLE_BQ. - Remove UPD_INPLACE1 and replace it with UPD_IND in the two places it was used. UPD_INPLACE1 wouldn't have worked in a generational setting.
-
sewardj authored
Remove 'const' modifier from static closure declarations. Static closures are meant to live in R/W data space.
-
- 13 Jan, 1999 1 commit
-
-
simonm authored
Added a generational garbage collector. The collector is reliable but fairly untuned as yet. It works with an arbitrary number of generations: use +RTS -G<gens> to change the number of generations used (default 2). Stats: +RTS -Sstderr is quite useful, but to really see what's going on compile the RTS with -DDEBUG and use +RTS -D32. ARR_PTRS removed - it wasn't used anywhere. Sanity checking improved: - free blocks are now spammed when sanity checking is turned on - a check for leaking blocks is performed after each GC.
-
- 02 Dec, 1998 1 commit
-
-
simonm authored
Move 4.01 onto the main trunk.
-