summaryrefslogtreecommitdiff
path: root/rts/MBlock.c
Commit message (Collapse)AuthorAgeFilesLines
* Split GC.c, and move storage manager into sm/ directorySimon Marlow2006-10-241-527/+0
| | | | | | | | | | | | | | | | | In preparation for parallel GC, split up the monolithic GC.c file into smaller parts. Also in this patch (and difficult to separate, unfortunatley): - Don't include Stable.h in Rts.h, instead just include it where necessary. - consistently use STATIC_INLINE in source files, and INLINE_HEADER in header files. STATIC_INLINE is now turned off when DEBUG is on, to make debugging easier. - The GC no longer takes the get_roots function as an argument. We weren't making use of this generalisation.
* Fix the Windows "VirtualAlloc MEM_COMMIT failed" bugIan Lynagh2006-09-061-1/+1
| | | | | | | | We had base=01100000 size=1048576 size_delta=0 it->size=2097152 it->base=00F00000 base-it->base=00200000 in commitBlocks. Esa Ilari Vuokko identified this inequality test as the cause.
* Don't lose linked list tailEsa Ilari Vuokko2006-08-311-1/+1
|
* Fix Windows MBlock alloctor bookkeeping bugEsa Ilari Vuokko2006-08-301-10/+10
|
* add sysErrorBelch() for reporting system call errorsSimon Marlow2006-08-301-5/+4
|
* Windows: make some soft failures into fatal errorsSimon Marlow2006-08-301-5/+10
| | | | | | Some of the memory allocation calls were being checked for error, but the RTS was printing a message and continuing. These error cases lead to crashes later, so better to just fail immediately.
* Clean up coding styleEsa Ilari Vuokko2006-08-231-31/+54
|
* Use stgMallc and stgFree instead of malloc/freeEsa Ilari Vuokko2006-08-231-10/+11
|
* Remove wrong VirtualAlloc MEM_DECOMMITs on cleanupEsa Ilari Vuokko2006-08-211-2/+0
|
* (temp) #814 - More flexible memory allocation in WindowsEsa Ilari Vuokko2006-08-201-125/+172
|
* fix eran error message by reordering a couple of testssimonmar@microsoft.com2006-07-191-4/+4
|
* New tracing interfaceSimon Marlow2006-06-081-2/+3
| | | | | | | | A simple interface for generating trace messages with timestamps and thread IDs attached to them. Most debugging output goes through this interface now, so it is straightforward to get timestamped debugging traces with +RTS -vt. Also, we plan to use this to generate parallelism profiles from the trace output.
* Reorganisation of the source treeSimon Marlow2006-04-071-0/+453
Most of the other users of the fptools build system have migrated to Cabal, and with the move to darcs we can now flatten the source tree without losing history, so here goes. The main change is that the ghc/ subdir is gone, and most of what it contained is now at the top level. The build system now makes no pretense at being multi-project, it is just the GHC build system. No doubt this will break many things, and there will be a period of instability while we fix the dependencies. A straightforward build should work, but I haven't yet fixed binary/source distributions. Changes to the Building Guide will follow, too.