Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

fix issue 20438 - [Reg 2.086] GC: memory not reusable when calling GC… #2858

Merged
merged 1 commit into from Dec 8, 2019

Conversation

rainers
Copy link
Member

@rainers rainers commented Dec 7, 2019

….collect after GC.free

fix detection of page with unused allocation slots

What this bug means: if no object was collected in a page, and a quarter of the page had no free allocation slots, the whole page was considered to be used, so the free slots were not restored to the free lists.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @rainers!

Bugzilla references

Auto-close Bugzilla Severity Description
20438 regression [Reg 2.086] GC: memory not reusable when calling GC.collect after GC.free

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub fetch digger
dub run digger -- build "stable + druntime#2858"

@dlang-bot dlang-bot added the Bug Fix Include reference to corresponding bugzilla issue label Dec 7, 2019
….collect after GC.free

fix detection of page with unused allocation slots
@rainers
Copy link
Member Author

rainers commented Dec 8, 2019

buildkite failure is an unrelated connection error:

object.Exception@source/vibe/core/net.d(229): Failed to connect to [2606:2800:220:1:248:1893:25c8:1946]:443: refused

@dlang-bot dlang-bot merged commit 7f9ed2d into dlang:stable Dec 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Fix Include reference to corresponding bugzilla issue
Projects
None yet
3 participants