1. 22 9月, 2022 13 次提交
  2. 21 9月, 2022 22 次提交
    • M
      Optimize AwayFromZero rounding (#74935) · e2443498
      Michał Petryka 提交于
      * Optimize AwayFromZero rounding
      
      Makes AwayFromZero use a fast managed
      implementation instead of an FCall.
      
      The code is not fully optimal due to
      CopySign not being optimized for constant inputs,
      it could be workarounded with direct Sse usage
      but propely fixing CopySign would be better.
      
      * Update MathF.cs
      
      * Update MathF.cs
      
      * Update src/libraries/System.Private.CoreLib/src/System/MathF.cs
      Co-authored-by: NTanner Gooding <tagoo@outlook.com>
      Co-authored-by: NTanner Gooding <tagoo@outlook.com>
      e2443498
    • C
    • V
      Fix public key token of Serialization.Schema contract assembly (#75963) · f595e028
      Viktor Hofer 提交于
      * Fix public key token for Serialization.Schema lib
      
      The Microsoft public key token was only applied to the source assembly but not to the contract.
      
      * Update Directory.Build.props
      f595e028
    • R
      [wasm] update README (#75960) · f7eb3c47
      Radek Doulik 提交于
      To mention the right workload for the templates.
      f7eb3c47
    • M
      fix readme typo (#75953) · 49751b22
      Milos Kotlar 提交于
      49751b22
    • P
      [wasm] enable issue 58812 (#75444) · 00db9fee
      Pavel Savara 提交于
      00db9fee
    • I
      104c6e16
    • E
      Faster "obj is T[]" for sealed T (#75816) · 4fae3c63
      Egor Bogatov 提交于
      Co-authored-by: NJan Kotas <jkotas@microsoft.com>
      4fae3c63
    • A
      [wasm] Don't use MS.Build.NoTargets SDK for runtime tests (#75939) · 0d765e9b
      Ankit Jain 提交于
      This will also avoid intermittent failures like https://github.com/dotnet/runtime/issues/75391
      0d765e9b
    • E
      Remove unused configurations (#75911) · 77bf509a
      Elinor Fung 提交于
      Remnants of crossgen code removal.
      77bf509a
    • M
    • A
      Update heap hard limit for large pages (#73508) · d7d63544
      Andrew Au 提交于
      d7d63544
    • A
      691cb81c
    • J
      9e4829d2
    • S
      Delete duplicative code in WebClient (#75896) · f2d65ebc
      Stephen Toub 提交于
      It had its own implementation of URL encoding; we can just use WebUtility.UrlEncode.  And it had its own helper for checking whether a byte array had a prefix; we can just use StartsWith.
      f2d65ebc
    • S
    • T
    • D
      [main] Update dependencies from dotnet/arcade (#75190) · e5b44af5
      dotnet-maestro[bot] 提交于
      * Update dependencies from https://github.com/dotnet/arcade build 20220906.4
      
      Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
       From Version 8.0.0-beta.22455.1 -> To Version 8.0.0-beta.22456.4
      
      * Update dependencies from https://github.com/dotnet/arcade build 20220912.4
      
      Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
       From Version 8.0.0-beta.22455.1 -> To Version 8.0.0-beta.22462.4
      
      * Update dependencies from https://github.com/dotnet/arcade build 20220913.5
      
      Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
       From Version 8.0.0-beta.22455.1 -> To Version 8.0.0-beta.22463.5
      
      * Update dependencies from https://github.com/dotnet/arcade build 20220915.7
      
      Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
       From Version 8.0.0-beta.22455.1 -> To Version 8.0.0-beta.22465.7
      
      * Update dependencies from https://github.com/dotnet/arcade build 20220916.3
      
      Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
       From Version 8.0.0-beta.22455.1 -> To Version 8.0.0-beta.22466.3
      
      * Update dependencies from https://github.com/dotnet/arcade build 20220919.1
      
      Microsoft.DotNet.ApiCompat , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
       From Version 8.0.0-beta.22455.1 -> To Version 8.0.0-beta.22469.1
      Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
      Co-authored-by: NAnkit Jain <radical@gmail.com>
      e5b44af5
    • D
      [main] Update dependencies from dotnet/icu dotnet/xharness... · 71ef3055
      dotnet-maestro[bot] 提交于
      [main] Update dependencies from dotnet/icu dotnet/xharness dotnet/hotreload-utils dotnet/llvm-project (#75886)
      
      * Update dependencies from https://github.com/dotnet/icu build 20220919.1
      
      Microsoft.NETCore.Runtime.ICU.Transport
       From Version 8.0.0-alpha.1.22462.1 -> To Version 8.0.0-alpha.1.22469.1
      
      * Update dependencies from https://github.com/dotnet/xharness build 20220919.1
      
      Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
       From Version 1.0.0-prerelease.22467.1 -> To Version 1.0.0-prerelease.22469.1
      
      * Update dependencies from https://github.com/dotnet/hotreload-utils build 20220919.1
      
      Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
       From Version 1.1.0-alpha.0.22462.2 -> To Version 1.1.0-alpha.0.22469.1
      
      * Update dependencies from https://github.com/dotnet/llvm-project build 20220919.3
      
      runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools
       From Version 14.0.0-alpha.1.22462.3 -> To Version 14.0.0-alpha.1.22469.3
      Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
      71ef3055
    • A
      Skip frozen segments for commit accounting (#75738) · 4e6244c1
      Andrew Au 提交于
      4e6244c1
    • D
      Add infinite codegen stress feature to crossgen2 and fix memory usage issues... · ee5246dd
      David Wrighton 提交于
      Add infinite codegen stress feature to crossgen2 and fix memory usage issues found while doing so (#74956)
      
      - Add Inifinite codegen stress mode which runs the compilation portion of crossgen2 in an infinite loop
      - Fix a couple of memory leaks around PInvokeTargetNativeMethod and UnboxingMethodDesc
        - These were being stored into long-lived data structures, and I was able to make at least UnboxingMethodDesc have a feature which prevents them from being stored for a long period of time
      - Address a number of scenarios where we allocate tremendous amounts of useless garbage
        - Our pattern for using ConcurrentDictionary was allocating a delegate on every lookup
        - Tweak ModuleTokenResolver to not need to allocate new copies of the `TokenResolverProvider` and the various `ImmutableArray` objects in the signature decoders as we don't actually need the return value from those apis.
       - Tweak parallelization strategy to use raw threads instead of `Parallel.ForEach`
         - This allows us to easily control thread lifetime, as well as providing a means to eliminate old and no-longer used `CorInfoImpl` instances.
         - This should address to some extent high levels of memory needed for compilation seen by some customers
      
      # Inifite codegen stress mode 
      Enable by passing --codegenopt:InfiniteCompileStress=1 on the command line
      
      A simple way to use this would be to run stress it on system.private.corelib.dll.
      
      Assuming that a release clr+libs has been built and your enlistment is in `c:\gitdir\runtime`, run something like the following
      ```
      pushd c:\gitdir\runtime
      src\tests\build generatelayoutonly
      set CORE_ROOT=C:\gitdir\runtime\artifacts\tests\coreclr\windows.x64.Release\tests\core_root
      SET DOTNET_gcServer=1
      SET DOTNET_GCHeapCount=6
      %CORE_ROOT%\corerun C:\gitdir\runtime\artifacts\bin\coreclr\windows.x64.Release\crossgen2\crossgen2.dll -o:C:\temp\System.Private.CoreLib.dll -r:C:\gitdir\runtime\artifacts\bin\coreclr\windows.x64.Release\IL\*.dll --targetarch:x64 -m:C:\gitdir\runtime\artifacts\bin\coreclr\windows.x64.Release\StandardOptimizationData.mibc --embed-pgo-data -O C:\gitdir\runtime\artifacts\bin\coreclr\windows.x64.Release\IL\System.Private.CoreLib.dll   --pdb --pdb-path:C:\temp --codegenopt:InfiniteCompileStress=1
      
      ```
      
      That will run for an infinite period of time, and stress the GC and various other aspects of the runtime.
      ee5246dd
    • E
      Split Codespaces configuration based on development scenarios (#74683) · 55060ebf
      Eric Erhardt 提交于
      * Split libraries and wasm devcontainers
      
      Codespaces allows for monorepo support now. So we can have different pre-builds for different dev environments.
      
      Creating a "libraries" pre-build and a "wasm" pre-build devcontainer.
      
      * Move devcontainer files into separate folders
      
      * Path up a directory to the Dockerfile
      
      * Split the Dockerfile so it can be customized per devcontainer
      
      * Update Codespaces docs
      
      * Respond to PR feedback
      
      * Use the new open devcontainers path.
      
      * Use the GH CLI feature instead of installing it ourselves
      
      * Set hostRequirements for Codespaces
      
      Developing in dotnet/runtime with a 2-core / 4GB ram machine doesn't work very well. Add a minimum of 4-core machine to the devcontainer spec.
      
      Fix #75680
      55060ebf
  3. 20 9月, 2022 5 次提交