-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce Bounded and Fixed nurseries
This commit adds Bounded and Fixed nursery types and changes how the nursery size is set. A Bounded nursery has a lower bound of 2 MB but a variable upper bound (set to be 1 TB on 64-bit by default), whereas a Fixed nursery controls both the upper and lower bound of the nursery and sets them to be the same value. By default, MMTk uses a Bounded nursery. The nursery size and type can be set via command line arguments or environment variables, for example, setting MMTK_NURSERY="Fixed:8192" will create a Fixed nursery of size 8192 bytes. This commit also changes how minor and major GCs are triggered to be more in line with the Java MMTk. **Note**: VM bindings may want to change the `ObjectModel::VM_WORST_CASE_COPY_EXPANSION` constant dependant on the worst case expansion that can occur due to object sizes changing when copied.
- Loading branch information
Showing
14 changed files
with
301 additions
and
54 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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.