Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dotnet/runtime
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 73cb995cff
Choose a base ref
...
head repository: dotnet/runtime
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: bf7fb2ecbf
Choose a head ref
  • 15 commits
  • 78 files changed
  • 15 contributors

Commits on May 29, 2023

  1. Faster ConstructorInfo.Invoke (#86855)

    * Faster ConstructorInfo.Invoke
    
    Speeds up reflection-invoking constructors by about 30%.
    
    Noticed we spend some time in the `ConstructorInfo` invocation infrastructure for no good reason.
    
    * We'd first allocate an instance of the object using a general purpose allocator (that first needs to dissect the `MethodTable` to figure out how to allocate), and then
    * We'd call into general-purpose Invoke infrastructure that would validate the `this` is valid.
    
    Neither of those are necessary - we can figure out the right allocator at the time the method invoker is first accessed, and validating `this` is not necessary because we _just_ allocated the right one.
    
    * This is reachable and the old behavior was needed
    
    * Apply suggestions from code review
    
    ---------
    
    Co-authored-by: Jan Kotas <[email protected]>
    MichalStrehovsky and jkotas authored May 29, 2023
    Configuration menu
    Copy the full SHA
    182591a View commit details
    Browse the repository at this point in the history
  2. Implement resource lookup in satellite assemblies (#86689)

    Fixes #86651.
    
    This was implemented in .NET Native so we just need to resurface it from the compiler.
    
    Note that this is not full support for satellite assemblies (in the assembly binder, etc.) that never existed and nobody ever asked for and I don't even know what it entails.
    MichalStrehovsky authored May 29, 2023
    Configuration menu
    Copy the full SHA
    b134fa2 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2023

  1. Configuration menu
    Copy the full SHA
    43850e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15f5f79 View commit details
    Browse the repository at this point in the history
  3. Do not compute debug names of reflection objects (#86880)

    We're spending 5% of Stage2 app startup computing debug names.
    
    This code originates from .NET Native where we had a "release mode with developer experience mode enabled" mode that tried to make troubleshooting trimming issues easier. One of the things it did was providing names of things in the debugger. Since we lack compiler support for this, developer experience mode is always enabled right now.
    
    Since in .NET 5+ people are not supposed to troubleshoot trimming issues in the debugger, this mode doesn't make much sense (we also don't have a managed debugger to surface the `DebuggerDisplay` anyway)
    MichalStrehovsky authored May 30, 2023
    Configuration menu
    Copy the full SHA
    da01301 View commit details
    Browse the repository at this point in the history
  4. [NativeAOT] Fix MD array GC series (#86877)

    * Fix MD array GC series
    
    * add a test
    
    Co-authored-by: Jan Kotas <[email protected]>
    VSadov and jkotas authored May 30, 2023
    Configuration menu
    Copy the full SHA
    0a3fb4c View commit details
    Browse the repository at this point in the history
  5. [wasm][globalization] HybridGlobalization fix bug in change case (#…

    …86799)
    
    * Fix + test.
    
    * Fix surrogates problem, document final sigma.
    
    * Update change-case.ts
    
    * Fix NLS
    ilonatommy authored May 30, 2023
    Configuration menu
    Copy the full SHA
    8154757 View commit details
    Browse the repository at this point in the history
  6. [RISC-V][JIT] Fix branch (#86482)

    * [RISC-V][JIT] Fix branch
    
    * [RISC-V][JIT] Updated emitJumpDistBind
    
    * jit-format
    
    * Update JALR offset value
    
    * Updated by reviews
    
    * Updated by reviews and fix
    
    * [RISC-V][JIT] Fixed the dest reg of jalr
    
    - Pass `./JIT/jit64/opt/cse/HugeField2/HugeField2.sh` test
    clamp03 authored May 30, 2023
    Configuration menu
    Copy the full SHA
    394d847 View commit details
    Browse the repository at this point in the history
  7. [RISC-V] Fix receiving of 2nd register in struct (#86144)

    * [RISC-V] Fix receiving of 2nd register in struct
    
    * jit-format patch apply
    t-mustafin authored May 30, 2023
    Configuration menu
    Copy the full SHA
    fcae73f View commit details
    Browse the repository at this point in the history
  8. Fix formatting issues in DependencyGraphViewer (#86890)

    Whitespace only change, to fix tabs/spaces and trailing spaces.
    Without this the tool doesn't build.
    vitek-karas authored May 30, 2023
    Configuration menu
    Copy the full SHA
    305f2ba View commit details
    Browse the repository at this point in the history
  9. Add PipeOptions.FirstPipeInstance enum value (#83936)

    Co-authored-by: Gudipati.Tarun <[email protected]>
    Co-authored-by: Adam Sitnik <[email protected]>
    3 people authored May 30, 2023
    Configuration menu
    Copy the full SHA
    d4b31a8 View commit details
    Browse the repository at this point in the history
  10. Change the LockCreated event to ContentionLockCreated (#86817)

    - The event was added in .NET 8, I have updated the event name based on the suggestion in microsoft/perfview#1731 (comment).
    - The name now matches the convention used for most other events, and shows up as Contention/LockCreated as expected in PerfView
    kouvel authored May 30, 2023
    Configuration menu
    Copy the full SHA
    7d50edd View commit details
    Browse the repository at this point in the history
  11. Implement stream-based ZipFile ExtractToDirectory and CreateFromDirec…

    …tory method overloads (#85491)
    
    * ref: Add stream-based ZipFile.CreateFromDirectory and ZipFile.ExtractToDirectory methods.
    
    * src: Add stream-based ZipFile.CreateFromDirectory ZipFile.ExtractToDirectory methods.
    
    * tests: Move wrongly placed tests to the correct class.
    
    * tests: Add stream-based tests for ZipFile.CreateFromDirectory and ZipFile.ExtractToDirectory.
    
    * src: Documentation and resource strings.
    
    * tests: More tests for unseekable/unreadable/unwritable streams.
    
    * Address suggestions and include more exception validation tests.
    
    * Fix braces after resolving conflict.
    
    * Use AssertExtensions.SequenceEqual for clearer error message.
    
    * Reset the resx file again.
    
    * Order results of dir enumeration tests
    carlossanlop authored May 30, 2023
    Configuration menu
    Copy the full SHA
    cfa28e3 View commit details
    Browse the repository at this point in the history
  12. Fix assert failure in grow_heap_segment for SVR GC. (#86889)

    For my previous change, I overlooked the fact that we may call grow_heap_segment from within should_proceed_for_no_gc(), so it's too late to turn off gradual_decommit_in_progress_p after this method returns.
    PeterSolMS authored May 30, 2023
    Configuration menu
    Copy the full SHA
    236ce6a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    bf7fb2e View commit details
    Browse the repository at this point in the history
Loading