Opened 11 months ago

#15727 new bug

bug: all generations are collected sequentially when compacting collection kicks in

Reported by: lolotp Owned by:
Priority: normal Milestone:
Component: Runtime System Version: 8.6.1
Keywords: Cc: simonmar
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Runtime performance bug Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


According to GHC documentation here, compacting collection should only be used for the oldest generation. I found out however while testing one of our programs that when compacting kicks in, Gen 0 were not being collected in parallel as well.

Looking at the code, the bug looks to be here, fixing this should be a simple change to the condition in the if phrase.

Change History (0)

Note: See TracTickets for help on using tickets.