-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add JitOptRepeat configuration options (#100154)
* Add JitOptRepeat configuration options JitOptRepeat is still off by default. 1. Add a `DOTNET_JitEnableOptRepeat` option. By default this is zero, meaning OptRepeat is disabled. Set it to one to enable JitOptRepeat. Enabling it will allow OptRepeat to kick in during JitStress, but will not otherwise enable it. Also setting `DOTNET_JitOptRepeat` to a method set will enable JitOptRepeat for that exact set of methods. The number of repetitions is specified by `DOTNET_JitOptRepeatCount`. 2. Enable JitOptRepeat to kick in for stress (if `DOTNET_JitEnableOptRepeat` is set to non-zero). The repetition count is set randomly (based on method hash seed) between 2 and 5. 3. Add `DOTNET_JitOptRepeatRange`. This limits JitOptRepeat to a method hash range, for isolating JitOptRepeat related bad codegen. * Set `DOTNET_JitEnableOptRepeat=1` in tests that enable JitOptRepeat
- Loading branch information
1 parent
309eac5
commit 40cb4b6
Showing
7 changed files
with
81 additions
and
13 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