Skip to content

Simplify 'static lifetime#1465

Draft
qinsoon wants to merge 3 commits intommtk:masterfrom
qinsoon:simplify-mmtk-static-lifetime-1
Draft

Simplify 'static lifetime#1465
qinsoon wants to merge 3 commits intommtk:masterfrom
qinsoon:simplify-mmtk-static-lifetime-1

Conversation

@qinsoon
Copy link
Copy Markdown
Member

@qinsoon qinsoon commented Mar 25, 2026

This PR strictly simplifies code by removing some unnecessary 'static lifetime declarations for MMTK.

There are more cases of 'static lifetime that we should be able to remove. I would expect future PRs to gradually remove them. This PR is done by Codex.

@wks
Copy link
Copy Markdown
Collaborator

wks commented Mar 25, 2026

In fact you can remove the mmtk parameter from GCWork::do_work because it is already accessible via worker.mmtk

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.

2 participants