-
Notifications
You must be signed in to change notification settings - Fork 81
This PR enables transitively pinning (TP) objects from particular roots for Immix/StickyImmix #897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 12 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
51dcf50
Supporting moving immix (wip)
udesou f4cb338
Removing print to file statements
udesou 6f691af
Merge branch 'master' into feature/rb-roots
udesou fa68296
Fixing incompatibilities from other plans to support immovable trace
udesou b1db978
Adding option for not moving during nursery GCs for sticky immix
udesou a349cc7
Minor.
udesou b1b31cf
Fixing formatting and tests
udesou 17f3356
Merge branch 'master' into feature/rb-roots
udesou 2089e0a
Fixing sanity GC
udesou a37fb56
Fix warning in tests
udesou 325d61b
Applying cargo fmt
udesou b054fd2
Fixing docs code
udesou 407047b
Renaming immovable => transitive pin (TP); Adding NodeRootsTrace to h…
udesou 8921ed7
Run cargo fmt
udesou 5a8c8a6
Merge remote-tracking branch 'origin/master' into feature/rb-roots
udesou 48dde07
Turning off stress copying as default; fixing logic to prefer copy on…
udesou b414746
Fixed naming of node roots => pinned roots, and tp => tpinned/tpinning
udesou a33fc30
Apply suggestions from code review (comments, and renaming)
udesou 7f96d15
Apply suggestions from code review (more comments)
udesou b23898b
GCWorkContext should always have 'static and Send
wks 1b40a94
Addressing comments in the review
udesou 0b3d358
Merge remote-tracking branch 'udesou/master' into feature/rb-roots
udesou 57f298f
Applying cargo fmt
udesou 5d2cab4
Fixing code inside conditional compilation
udesou 73ab10a
Fixing tests
udesou 4773952
Fixing formatting in macros.
udesou a26101f
Merge branch 'mmtk:master' into feature/rb-roots
udesou 119a752
Merge branch 'master' into feature/rb-roots
udesou a91453f
Fixing bug when replacing MarkingProcessEdges in markcompact/global.rs
udesou d3fa977
Fixing import that failed cargo clippy
udesou f184064
Fix dependency replacing script
wks 2e80e92
Merge branch 'master' into feature/rb-roots
udesou File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,12 @@ | ||
| use super::global::PageProtect; | ||
| use crate::policy::gc_work::DEFAULT_TRACE; | ||
| use crate::scheduler::gc_work::PlanProcessEdges; | ||
| use crate::scheduler::gc_work::{PlanProcessEdges, UnsupportedProcessEdges}; | ||
| use crate::vm::VMBinding; | ||
|
|
||
| pub struct PPGCWorkContext<VM: VMBinding>(std::marker::PhantomData<VM>); | ||
| impl<VM: VMBinding> crate::scheduler::GCWorkContext for PPGCWorkContext<VM> { | ||
| type VM = VM; | ||
| type PlanType = PageProtect<VM>; | ||
| type ProcessEdgesWorkType = PlanProcessEdges<Self::VM, PageProtect<VM>, DEFAULT_TRACE>; | ||
| type ImmovableProcessEdges = UnsupportedProcessEdges<VM>; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,12 @@ | ||
| use super::global::SemiSpace; | ||
| use crate::policy::gc_work::DEFAULT_TRACE; | ||
| use crate::scheduler::gc_work::PlanProcessEdges; | ||
| use crate::scheduler::gc_work::{PlanProcessEdges, UnsupportedProcessEdges}; | ||
| use crate::vm::VMBinding; | ||
|
|
||
| pub struct SSGCWorkContext<VM: VMBinding>(std::marker::PhantomData<VM>); | ||
| impl<VM: VMBinding> crate::scheduler::GCWorkContext for SSGCWorkContext<VM> { | ||
| type VM = VM; | ||
| type PlanType = SemiSpace<VM>; | ||
| type ProcessEdgesWorkType = PlanProcessEdges<Self::VM, SemiSpace<VM>, DEFAULT_TRACE>; | ||
| type ImmovableProcessEdges = UnsupportedProcessEdges<VM>; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.