-
Notifications
You must be signed in to change notification settings - Fork 76
Make chunk map as global side metadata, and each space only lists its own chunks using chunk map #1304
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
Make chunk map as global side metadata, and each space only lists its own chunks using chunk map #1304
Changes from all commits
b7b5988
1c64dcb
abbde8b
4472263
5a724c2
5bc0517
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,8 @@ define_side_metadata_specs!( | |
MS_ACTIVE_CHUNK = (global: true, log_num_of_bits: 3, log_bytes_in_region: LOG_BYTES_IN_CHUNK), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In my branch I did a quick fix and didn't bother to coalesce There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It might be possible. We could simply replace |
||
// Track the index in SFT map for a chunk (only used for SFT sparse chunk map) | ||
SFT_DENSE_CHUNK_MAP_INDEX = (global: true, log_num_of_bits: 3, log_bytes_in_region: LOG_BYTES_IN_CHUNK), | ||
// Mark chunks (any plan that uses the chunk map should include this spec in their global sidemetadata specs) | ||
CHUNK_MARK = (global: true, log_num_of_bits: 3, log_bytes_in_region: crate::util::heap::chunk_map::Chunk::LOG_BYTES), | ||
); | ||
|
||
// This defines all LOCAL side metadata used by mmtk-core. | ||
|
@@ -75,8 +77,6 @@ define_side_metadata_specs!( | |
IX_BLOCK_DEFRAG = (global: false, log_num_of_bits: 3, log_bytes_in_region: crate::policy::immix::block::Block::LOG_BYTES), | ||
// Mark blocks by immix | ||
IX_BLOCK_MARK = (global: false, log_num_of_bits: 3, log_bytes_in_region: crate::policy::immix::block::Block::LOG_BYTES), | ||
// Mark chunks (any plan that uses the chunk map should include this spec in their local sidemetadata specs) | ||
CHUNK_MARK = (global: false, log_num_of_bits: 3, log_bytes_in_region: crate::util::heap::chunk_map::Chunk::LOG_BYTES), | ||
// Mark blocks by (native mimalloc) marksweep | ||
MS_BLOCK_MARK = (global: false, log_num_of_bits: 3, log_bytes_in_region: crate::policy::marksweepspace::native_ms::Block::LOG_BYTES), | ||
// Next block in list for native mimalloc | ||
|
Uh oh!
There was an error while loading. Please reload this page.