Ticket #2023 (new todo)

Opened 5 years ago

Last modified 5 years ago

Improve triggering of GC in GMS.

Reported by: bacek Owned by:
Priority: major Milestone: 3.3
Component: GC Version: master
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:



Currently triggering of GC in GMS GC is too naive and should be improved.

Obvious things to implement: 1. Triggering of nursery collection should be dynamically adjusted based on pause time and GC pressure. 2. Triggering of older generations can be based on amount of allocated memory in collection.

-- Bacek.

Change History

Changed 5 years ago by nwellnhof

IMO, a static threshold for the nursery is OK. It should be something in the order of L2 cache size. The oldest generation should use a dynamic threshold like GC_MS2 does: (memory used) * (constant factor).

Note: See TracTickets for help on using tickets.