- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5.2k
Enable feature stubprecode dynamic helpers again #115746
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
      
      
            davidwrighton
  merged 35 commits into
  dotnet:main
from
davidwrighton:enable_FEATURE_STUBPRECODE_DYNAMIC_HELPERS_again
  
      
      
   
  Jul 9, 2025 
      
    
  
     Merged
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            35 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      c342e64
              
                Re-enable, with a dmb, and change the stub examination logic to use a…
              
              
                davidwrighton 226cc59
              
                Add the new logic for handling the disasm comparison in the DAC to th…
              
              
                davidwrighton 5388a3d
              
                Merge branch 'main' of github.com:dotnet/runtime into enable_FEATURE_…
              
              
                davidwrighton 36e0ec1
              
                More updates to latest
              
              
                davidwrighton 279a458
              
                Add cDAC support
              
              
                davidwrighton eca7820
              
                Merge branch 'main' of github.com:dotnet/runtime into enable_FEATURE_…
              
              
                davidwrighton 3233cd5
              
                Adjust to having the stub templates back
              
              
                davidwrighton 8557dea
              
                Merge branch 'main' into enable_FEATURE_STUBPRECODE_DYNAMIC_HELPERS_a…
              
              
                davidwrighton 6c07b89
              
                Update src/coreclr/vm/precode.h
              
              
                davidwrighton 43e29b9
              
                Update docs/design/datacontracts/PrecodeStubs.md
              
              
                davidwrighton 721be9e
              
                Apply suggestions from code review
              
              
                davidwrighton fca72ac
              
                Issue issue around code copilot found
              
              
                davidwrighton 051e071
              
                Changes to make StubPrecode have the write barrier on the writer side
              
              
                davidwrighton 59324fd
              
                Add memory ordering protection for FixupPrecode
              
              
                davidwrighton 9f86bc1
              
                Merge branch 'main' of github.com:dotnet/runtime into enable_FEATURE_…
              
              
                davidwrighton 870e7cf
              
                Fix build on various platforms, and reduce incorrect assert
              
              
                davidwrighton bc9bb86
              
                Fix assertions
              
              
                davidwrighton 07df9b1
              
                Fix build break
              
              
                davidwrighton 7421c04
              
                Fix copy/paste thinko
              
              
                davidwrighton f2c941d
              
                Fix WASM build
              
              
                davidwrighton 2af00ef
              
                Merge branch 'main' into enable_FEATURE_STUBPRECODE_DYNAMIC_HELPERS_a…
              
              
                davidwrighton 54b3501
              
                Update src/coreclr/vm/riscv64/thunktemplates.S
              
              
                davidwrighton 4d59a8e
              
                Merge branch 'main' of https://github.com/dotnet/runtime into enable_…
              
              
                davidwrighton 563ca30
              
                Merge branch 'main' into enable_FEATURE_STUBPRECODE_DYNAMIC_HELPERS_a…
              
              
                davidwrighton 3cfe122
              
                Update relative offsets for Loongarch and Riscv
              
              
                davidwrighton fda796a
              
                Use alternative barrier approach on Arm64
              
              
                davidwrighton 306ae1b
              
                Merge branch 'enable_FEATURE_STUBPRECODE_DYNAMIC_HELPERS_again' of ht…
              
              
                davidwrighton 887c885
              
                Try slight variation
              
              
                davidwrighton 1a8c6b0
              
                Go back to a simple dmb. Seems to have the same perf as a stlr,ldar p…
              
              
                davidwrighton a207c9c
              
                Use FlushInstructionCache to protect stub reads instead of using a ba…
              
              
                davidwrighton 9c17ab8
              
                Remove hallucinations
              
              
                davidwrighton 71b3876
              
                Missed removing one dmb
              
              
                davidwrighton f614223
              
                Feedback from @janvorli
              
              
                davidwrighton 854fd3e
              
                Address feedback
              
              
                davidwrighton 0689a0b
              
                Retrict dynamic helpers to iOS/Catalyst scenarios
              
              
                davidwrighton 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
    
  
  
    
              
  
    
      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.
        
    
  
      
      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.