Skip to content

Conversation

@qinsoon
Copy link
Member

@qinsoon qinsoon commented Oct 28, 2021

This PR

  • adds a new trait GCWorkContext which provides a few associated types used for work packets. Each plan provides an implementation of GCWorkContext.
  • moves schedule_common from CommonPlan to GCWorkScheduler.
  • fixes tutorial code for the changes in Extract common work packet to schedule_common() #471.

@qinsoon qinsoon changed the title GC work context for plans Simplify type parameters for schedule_common() Oct 28, 2021
Copy link
Collaborator

@wks wks left a comment

Choose a reason for hiding this comment

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

I feel the schedule_common method may be moved to the Plan trait. This is a bit different from how we would do it in Java (JikesRVM). Rust is different.

@qinsoon
Copy link
Member Author

qinsoon commented Oct 29, 2021

I feel the schedule_common method may be moved to the Plan trait. This is a bit different from how we would do it in Java (JikesRVM). Rust is different.

Thanks for the comments -- I will work on them.

@qinsoon qinsoon marked this pull request as ready for review November 3, 2021 00:33
@qinsoon qinsoon added the PR-testing Run binding tests for the pull request (deprecated: use PR-extended-testing instead) label Nov 3, 2021
@qinsoon qinsoon mentioned this pull request Nov 4, 2021
Copy link
Collaborator

@wks wks left a comment

Choose a reason for hiding this comment

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

There are a few comments that need updating.

@qinsoon
Copy link
Member Author

qinsoon commented Nov 8, 2021

I have addressed the reviews. @wks

Copy link
Collaborator

@wks wks left a comment

Choose a reason for hiding this comment

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

LGTM

@qinsoon qinsoon merged commit 1fc31f6 into master Nov 15, 2021
@qinsoon qinsoon deleted the gc-work-context branch November 15, 2021 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR-testing Run binding tests for the pull request (deprecated: use PR-extended-testing instead)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants