Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Aug 22, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

peterzhu2118 and others added 8 commits August 22, 2025 10:13
[Bug #21548]

In lazy sweeping, if we need to allocate an object in a heap where we
weren't able to free any slots, but we also either have empty pages or
could allocate new pages, then we want to preemptively claim a page
because it's possible that sweeping another heap will call gc_sweep_finish_heap,
which may use up all of the empty/allocatable pages. If other heaps are
not finished sweeping then we do not finish this GC and we will end up
triggering a new GC cycle during this GC phase.
Ideally we would do this lazily post optimization, but this is easier
for now: we already have the requisite Snapshots available.
Not all ractor-related encoding issues were fixed by 1afc07e.
I found more by running my test-all branch with 3 ractors for each test.
@pull pull bot locked and limited conversation to collaborators Aug 22, 2025
@pull pull bot added the ⤵️ pull label Aug 22, 2025
@pull pull bot merged commit 1e3fcc2 into turkdevops:master Aug 22, 2025
1 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants