Changeset fd0e620 in Lumiera
- Timestamp:
-
2026-05-29T16:45:01Z
(2 weeks ago)
- Author:
- Ichthyostega <prg@…>
- Branches:
- dev/play, documentation, integration
- Children:
- 9461443
- Parents:
- 56561c8
- Message:
-
BufferProvider: perform a successful stress-test
Yet only in a simple way, by pressing with 100 threads....
This test runs for about 10 seconds, shows a massive allocation
of more than 1 GiB, but comes down clean, without deadlocks,
using all cores and returning all memory blocks at the end.
This test uncovered some missing safety checks,
and it highlighted (again) that this memory management scheme is
elaborate and potentially fragile: I had to deal with carried-on
state in the local metadata registry associated with the main thread
(in fact I did not ever want that registry to be used, but turns out
that the initialisation check, that runs in the constructor, already
pulls up an instance for the main thread, which carries stale state
after the test case is complete)
-
(No files)
-