Skip to content

Update BoehmGC to 8.2 - #307

Merged
tobil4sk merged 4 commits into
HaxeFoundation:masterfrom
tobil4sk:update-gc
Sep 18, 2026
Merged

tobil4sk merged 4 commits into
HaxeFoundation:masterfrom
tobil4sk:update-gc

Conversation

@tobil4sk

@tobil4sk tobil4sk commented Mar 7, 2025 •

Copy link
Copy Markdown
Member

There will be a future release that solves the bug described in #303, so this prepares the way for that by updating to 8.2 for now.

On windows, we have to disable thread local allocation as it does not
work with the dll build of bdwgc. With version 8.2, it is possible to
use the more finegrained `-Denable_thread_local_alloc` flag instead of
`-Denable_parallel_mark` which also disables parallel marking.
Other compilers should support builtin atomics so don't require
libatomic_ops with gc 8.2
@tobil4sk
tobil4sk merged commit b459166 into HaxeFoundation:master Sep 18, 2026
16 checks passed
@tobil4sk
tobil4sk deleted the update-gc branch September 18, 2026 19:23
tobil4sk added a commit that referenced this pull request Oct 10, 2026
This reverts commit b459166.

It caused a regression with finalizer calls: #334. It might be a bug on
our side that is simply exposed by the update, rather than a boehmgc
bug, but I'll revert this for now as it breaks hxcpp CI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant