Don't traverse the entire list of threads on every GC (phase 1)
authorSimon Marlow <simonmarhaskell@gmail.com>
Wed, 16 Apr 2008 23:44:20 +0000 (23:44 +0000)
committerSimon Marlow <simonmarhaskell@gmail.com>
Wed, 16 Apr 2008 23:44:20 +0000 (23:44 +0000)
commit200c73fdfea734765c48309cc8dcbcf44b69c8c5
tree3c2368de05e5050dede56981076c7a9bbfcea457
parent233a468745d108ea845e0898e4177df2c3734fc0
Don't traverse the entire list of threads on every GC (phase 1)
Instead of keeping a single list of all threads, keep one per step
and only look at the threads belonging to steps that we are
collecting.
includes/Storage.h
rts/Sanity.c
rts/Schedule.c
rts/Schedule.h
rts/Threads.c
rts/sm/Compact.c
rts/sm/GC.c
rts/sm/MarkWeak.c
rts/sm/Storage.c