[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28590: [PATCH 0/7] Attempt to reduce memory growth
From: |
Ludovic Courtès |
Subject: |
bug#28590: [PATCH 0/7] Attempt to reduce memory growth |
Date: |
Tue, 3 Oct 2017 13:43:45 +0200 |
So! This is an attempt to mitigate memory growth in the use case shown
at <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28590>.
Unfortunately, it doesn’t that much: on the python.scm compilation
“benchmark”, there’s a bit less than 10% gain both in memory consumption
and CPU time.
I’ll try to combine that with incremental marking of the weak table, but
I’m not very hopeful.
Andy: I need your help! :-)
Ludo’.
Ludovic Courtès (7):
weak-table: Fix unbounded growth of the disappearing link table.
weak-table: Stress the GC a little less when resizing.
weak-table: Make sure 'move_disappearing_links' actually moves links.
weak-table: Always unregister previous links when inserting an entry.
weak-table: 'move_weak_entry' reports disappeared links.
weak-table: 'rob_from_rich' accounts for disappeared entries.
weak-table: Resize less frequently.
libguile/weak-table.c | 144 +++++++++++++++++++++++++++++++++++++++-----------
1 file changed, 114 insertions(+), 30 deletions(-)
--
2.14.2
- bug#28590: [PATCH 0/7] Attempt to reduce memory growth,
Ludovic Courtès <=
- bug#28590: [PATCH 6/7] weak-table: 'rob_from_rich' accounts for disappeared entries., Ludovic Courtès, 2017/10/03
- bug#28590: [PATCH 7/7] weak-table: Resize less frequently., Ludovic Courtès, 2017/10/03
- bug#28590: [PATCH 3/7] weak-table: Make sure 'move_disappearing_links' actually moves links., Ludovic Courtès, 2017/10/03
- bug#28590: [PATCH 2/7] weak-table: Stress the GC a little less when resizing., Ludovic Courtès, 2017/10/03
- bug#28590: [PATCH 1/7] weak-table: Fix unbounded growth of the disappearing link table., Ludovic Courtès, 2017/10/03
- bug#28590: [PATCH 5/7] weak-table: 'move_weak_entry' reports disappeared links., Ludovic Courtès, 2017/10/03
- bug#28590: [PATCH 4/7] weak-table: Always unregister previous links when inserting an entry., Ludovic Courtès, 2017/10/03
- bug#28590: [PATCH 0/7] Attempt to reduce memory growth, Ludovic Courtès, 2017/10/04