- 26 Jul, 2002 1 commit
-
-
simonmar authored
Always return 8-byte-aligned memory from arenaAlloc(). Fixes problems with profiling on sparc-sun-solaris2, and might fix problems with Windows too. MERGE
-
- 17 Jul, 2002 1 commit
-
-
simonmar authored
Remove most #includes of system headers from Stg.h, and instead #include any required headers directly in each RTS source file. The idea is to (a) reduce namespace pollution from system headers that we don't need, (c) be clearer about dependencies on system things in the RTS, and (c) improve via-C compilation times (maybe). In practice though, HsBase.h #includes everything anyway, so the difference from the point of view of .hc source is minimal. However, this makes it easier to move to zero-includes if we wanted to (see discussion on the FFI list; I'm still not sure that's possible but at least this is a step in the right direction).
-
- 18 Oct, 2001 1 commit
-
-
simonmar authored
Add a lightweight arena allocation scheme, and use it to speed up allocation of cost centres and cost-centre stacks in the profiler.
-