Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: update gc-arena to latest master #19853

Merged
merged 2 commits into from
Mar 22, 2025
Merged

Conversation

moulins
Copy link
Contributor

@moulins moulins commented Mar 18, 2025

Notable changes:

  • Collect::trace is now generic over the tracing context: this makes the CollectCell abstraction used in the string interner unsound (as Collect::trace can now be, in principle, called at any time). As such, this is replaced by a simpler RefCell.
  • gc-arena upgraded its hashbrown dependency to 0.15, but we need to stay on 0.14 because we use RawTable (in the AVM2 DynamicMap and in the string interner). The work-around is to manually implement Collect on these types.
  • gc-arena improved its pacing algorithm; there are no API changes, but we should investigate the performance impact before merging.

@moulins moulins added A-core Area: Core player, where no other category fits T-refactor Type: Refactor / Cleanup T-chore Type: Chore (like updating a dependency, it's gotta be done) labels Mar 18, 2025
@moulins moulins force-pushed the gc-arena-next branch 2 times, most recently from a67f904 to 95238e6 Compare March 21, 2025 00:47
@moulins moulins enabled auto-merge (rebase) March 22, 2025 00:57
@moulins moulins merged commit 55edf4e into ruffle-rs:master Mar 22, 2025
22 checks passed
@moulins moulins deleted the gc-arena-next branch March 22, 2025 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-core Area: Core player, where no other category fits T-chore Type: Chore (like updating a dependency, it's gotta be done) T-refactor Type: Refactor / Cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants