Skip to content

Conversation

dwightguth
Copy link
Collaborator

This is the first of a sequence of PRs designed to make progress towards generating stack maps so that we can trigger the GC during allocation rather than in between rewrite steps only. The first few PRs will be preliminaries that add small features that will be used by future PRs.

This PR adds a SetIter and MapIter sort category. These sort categories are needed because the stack may contain references to live sets and maps through these iterators that need to be relocated by the GC. However, no K terms will ever be created with these sort categories, so a lot of the code cases currently in the code deliberately do not handle these categories. Future PRs will add GC code to handle fixing up the pointer to a collection contained in these iterators.

@rv-jenkins rv-jenkins changed the base branch from master to develop June 3, 2024 16:29
@dwightguth dwightguth marked this pull request as ready for review June 4, 2024 17:30
@dwightguth dwightguth requested review from Baltoli and theo25 June 4, 2024 17:30
Copy link
Collaborator

@theo25 theo25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@rv-jenkins rv-jenkins merged commit b29dae5 into develop Jun 4, 2024
@rv-jenkins rv-jenkins deleted the sortcategory branch June 4, 2024 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants