Skip to content

Conversation

@qinsoon
Copy link
Member

@qinsoon qinsoon commented Aug 3, 2023

Update to mmtk/mmtk-core#875.

@qinsoon qinsoon marked this pull request as ready for review August 9, 2023 01:41
@qinsoon qinsoon requested a review from udesou August 9, 2023 01:41
Copy link
Contributor

@udesou udesou 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 enabled auto-merge (squash) August 9, 2023 08:07
@qinsoon qinsoon merged commit 4997765 into mmtk:master Aug 9, 2023
qinsoon added a commit that referenced this pull request Aug 14, 2023
This PR is based on #86.
* Move stack scanning code to Rust, and implement
`Scanning::scan_roots_in_mutator_thread`.
  * Implement necessary types/functions in Rust. 
* It is not necessary to implement this in Rust. However, it needs to
use `scan_gcstack()`, which is implemented in Rust, and used for object
scanning. It would be better to remove our implementation for it in C.
* Create `scan_vm_specific_roots`, and call it in
`Scanning::scan_vm_specific_roots`.
  * Allow using `RootsWorkFactory` in C
* Remove global `ROOT_NODES/EDGES` as they are no longer used.
* Add assertions to check type size for our Rust and C types.
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