Skip to content

Conversation

@qinsoon
Copy link
Member

@qinsoon qinsoon commented Jan 22, 2025

The code is mainly from mmrk-ruby. We hijack the Rust panic hook to make sure that if the GC threads panic, the process will be aborted. The current behavior is that when a GC thread panics, the process hangs and wait for that GC thread to finish its work.

This should be ported to master.

@qinsoon qinsoon requested a review from udesou January 23, 2025 00:52
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. I can open a PR to backport it to master or did you set up a bot to do so?

@qinsoon
Copy link
Member Author

qinsoon commented Jan 23, 2025

LGTM. I can open a PR to backport it to master or did you set up a bot to do so?

It will be great if you can port this to master. I only set up ergify to backport from master to dev, not the other direction.

@qinsoon qinsoon merged commit e780a0b into mmtk:dev Jan 23, 2025
17 checks passed
qinsoon added a commit that referenced this pull request Jan 23, 2025
Porting #221 to `master`.

Co-authored-by: Yi Lin <[email protected]>
qinsoon added a commit to qinsoon/mmtk-julia that referenced this pull request Feb 6, 2025
The code is mainly from `mmrk-ruby`. We hijack the Rust panic hook to
make sure that if the GC threads panic, the process will be aborted. The
current behavior is that when a GC thread panics, the process hangs and
wait for that GC thread to finish its work.

This should be ported to `master`.
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