platform/upstream/dotnet/runtime.git
7 months ago[Tizen] separate PIC and PIE to fix x86_64 build error
Woongsuk Cho [Thu, 9 May 2019 09:02:22 +0000 (18:02 +0900)]
[Tizen] separate PIC and PIE to fix x86_64 build error

7 months ago[Tizen] skip dotnet specific arguments in corerun
Konstantin Baladurin [Fri, 4 Oct 2019 16:45:44 +0000 (19:45 +0300)]
[Tizen] skip dotnet specific arguments in corerun

Now we use corerun to run corefx tests instead of dotnet, because last
one isn't available for Tizen/armel. So we need to skip dotnet specific
arguments, we patch corerun for it because Microsoft.DotNet.RemoteExecutor
tries to execute binary that it gets from /proc/self/maps, so we need a
binary that will behave like dotnet.

7 months ago[Tizen] add access(2) call before dlopening files
Yaroslav Yamshchikov [Thu, 18 Jul 2019 10:14:14 +0000 (13:14 +0300)]
[Tizen] add access(2) call before dlopening files

7 months ago[Tizen] Update .gitignore
Hyungju Lee [Wed, 13 Mar 2019 00:28:54 +0000 (09:28 +0900)]
[Tizen] Update .gitignore

7 months ago[Tizen] Add support for gbs build for x86_64, armv7l, armv7hl, aarch64, x86, riscv64...
Gleb Balykov [Tue, 28 Nov 2023 11:08:06 +0000 (14:08 +0300)]
[Tizen] Add support for gbs build for x86_64, armv7l, armv7hl, aarch64, x86, riscv64 (including CoreCLR and CoreFX tests)

Co-authored by: leee.lee@samsung.com, j-h.choi@samsung.com

To add dotnet tool dependencies:
1. Remove .gitignore
2. Remove all previous build artifacts and non-used files (make output of "git status" clear)
3. export DOTNET_CLI_HOME=`pwd`/.dotnet_cli_home
4. Cross build coreclr tests for required arches (arm, armel, arm64, x86, x64, riscv64) and build for x64
5. Commit cache for tools from .dotnet_cli_home with local nuget packages path replaced with TIZEN_NUGET_PACKAGES_DIR (gbs build will fail if smth is missed)

7 months ago[Tizen] Hardcode LD_GNU for tizen
Gleb Balykov [Tue, 28 Nov 2023 12:48:03 +0000 (15:48 +0300)]
[Tizen] Hardcode LD_GNU for tizen

7 months ago[Tizen] Add coreclr tests build dependencies v8.0.0
Gleb Balykov [Tue, 21 Nov 2023 15:04:00 +0000 (18:04 +0300)]
[Tizen] Add coreclr tests build dependencies v8.0.0

To add these files do next steps:
1. Remove .gitignore
2. Remove all previous build artifacts and non-used files (make output of "git status" clear)
3. export NUGET_PACKAGES=`pwd`/.packages
4. Cross build coreclr tests for required arches (arm, armel, arm64, x86, x64, riscv64) and build for x64
5. Commit .packages

Notes:
- If some of these nuget packages are not commited or missed for other reasons, gbs build will fail.

7 months ago[Tizen] Add prebuilt libicu-57.1 libraries for x64
Gleb Balykov [Mon, 12 Apr 2021 14:20:02 +0000 (17:20 +0300)]
[Tizen] Add prebuilt libicu-57.1 libraries for x64

These are required for x64 BuildTools in order to run under gbs.

7 months ago[Tizen] Add nuget packages for corefx-managed-ref for clr <= 3.1
Gleb Balykov [Mon, 12 Apr 2021 14:43:01 +0000 (17:43 +0300)]
[Tizen] Add nuget packages for corefx-managed-ref for clr <= 3.1

These are nuget packages, which are used during application build.
To generate these, build TizenFX and put downloaded nuget packages in nuget/ dir.

7 months ago[Tizen] Add x64 build tools and nuget dependencies v8.0.0
Gleb Balykov [Mon, 20 Nov 2023 16:56:47 +0000 (19:56 +0300)]
[Tizen] Add x64 build tools and nuget dependencies v8.0.0

To add these files do next steps:
1. Remove .gitignore
2. Remove all previous build artifacts and non-used files (make output of "git status" clear)
3. export NUGET_PACKAGES=`pwd`/.packages
4. Cross build runtime (coreclr, libraries/corefx, corefx tests) for required arches (arm, armel, arm64, x86, x64, riscv64) and build for x64
5. Commit .dotnet, .packages

Notes:
- If some dir names change in future, this will be seen in "git status" after step 4. Add those dirs too.
- If some of these dirs are not commited or missed for other reasons, gbs build will fail.
- These build tools are for x64, thus, gbs build without clang-accel is not supported.

7 months ago[Tizen] Enable corefx tests build for riscv64 and x86
Gleb Balykov [Sun, 26 Nov 2023 09:47:21 +0000 (12:47 +0300)]
[Tizen] Enable corefx tests build for riscv64 and x86

8 months agoRollback Tizen toolchain versions except RISC-V (#14149)
Hyungju Lee [Mon, 23 Oct 2023 09:12:43 +0000 (02:12 -0700)]
Rollback Tizen toolchain versions except RISC-V (#14149)

8 months agoAdd tizen riscv64 rootfs and cross build support (#14035)
Gleb Balykov [Wed, 11 Oct 2023 07:46:33 +0000 (16:46 +0900)]
Add tizen riscv64 rootfs and cross build support (#14035)

8 months agoMerge in 'release/8.0' changes
dotnet-bot [Tue, 31 Oct 2023 14:37:06 +0000 (14:37 +0000)]
Merge in 'release/8.0' changes

8 months agoUpdate dependencies from https://github.com/dotnet/emsdk build 20231030.2 (#94196)
dotnet-maestro[bot] [Tue, 31 Oct 2023 14:25:35 +0000 (07:25 -0700)]
Update dependencies from https://github.com/dotnet/emsdk build 20231030.2 (#94196)

Microsoft.SourceBuild.Intermediate.emsdk , Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100
 From Version 8.0.0-rtm.23523.2 -> To Version 8.0.0-rtm.23530.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
8 months agoMerge in 'release/8.0' changes
dotnet-bot [Tue, 31 Oct 2023 00:11:56 +0000 (00:11 +0000)]
Merge in 'release/8.0' changes

8 months ago[release/8.0] Bump net7 downlevel version to 7.0.14 (#94192)
Steve Pfister [Mon, 30 Oct 2023 23:59:55 +0000 (16:59 -0700)]
[release/8.0] Bump net7 downlevel version to 7.0.14 (#94192)

Co-authored-by: Steve Pfister <steve.pfister@microsoft.com>
8 months agoMerge in 'release/8.0' changes
dotnet-bot [Wed, 25 Oct 2023 20:45:25 +0000 (20:45 +0000)]
Merge in 'release/8.0' changes

8 months ago[8.0] Update MsQuic (#93979)
Carlos Sánchez López [Wed, 25 Oct 2023 20:34:17 +0000 (14:34 -0600)]
[8.0] Update MsQuic (#93979)

8 months agoMerged PR 34793: [internal/release/8.0] Merge from public
Matt Mitchell [Wed, 25 Oct 2023 17:16:31 +0000 (17:16 +0000)]
Merged PR 34793: [internal/release/8.0] Merge from public

Merge from public release/8.0 to internal/release/8.0 and resolve conflicts if necessary

8 months agoApply suggestions from code review
Matt Mitchell [Wed, 25 Oct 2023 17:13:10 +0000 (17:13 +0000)]
Apply suggestions from code review

9 months ago[release/8.0] Honor JsonSerializerOptions.PropertyNameCaseInsensitive in property...
github-actions[bot] [Tue, 24 Oct 2023 20:21:59 +0000 (13:21 -0700)]
[release/8.0] Honor JsonSerializerOptions.PropertyNameCaseInsensitive in property name conflict resolution. (#93935)

* Honor JsonSerializerOptions.PropertyNameCaseInsensitive in property name conflict resolution.

* Update src/libraries/System.Text.Json/tests/Common/PropertyNameTests.cs

Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com>
* Address feedback

---------

Co-authored-by: Eirik Tsarpalis <eirik.tsarpalis@gmail.com>
Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com>
9 months ago[release/8.0][wasm] Fix perf pipeline runs (#93888)
Ankit Jain [Tue, 24 Oct 2023 02:26:57 +0000 (22:26 -0400)]
[release/8.0][wasm] Fix perf pipeline runs (#93888)

* Remove --experimental-wasm-eh argument from the wasm_args used for wasm performance runs. (#93357)

(cherry picked from commit a770017fea3549e0bf88f7c619b79a731271e305)

* performance-setup.sh: Use `release/8.0` as the default channel

* performance-setup.ps1: use release/8.0 as the default channel

* Fix passing wasmArgs for bdn

---------

Co-authored-by: Parker Bibus <parkerbibus@microsoft.com>
9 months agoMerge pull request #93807 from carlossanlop/StableBranding8
Carlos Sánchez López [Mon, 23 Oct 2023 20:42:54 +0000 (14:42 -0600)]
Merge pull request #93807 from carlossanlop/StableBranding8

[release/8.0] Stable branding for .NET 8 GA

9 months ago[release/8.0] Update dependencies from dnceng/internal/dotnet-optimization (#93827)
dotnet-maestro[bot] [Mon, 23 Oct 2023 20:37:10 +0000 (13:37 -0700)]
[release/8.0] Update dependencies from dnceng/internal/dotnet-optimization (#93827)

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20231021.3

optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.23519.5 -> To Version 1.0.0-prerelease.23521.3

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20231021.3

optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.23519.5 -> To Version 1.0.0-prerelease.23521.3

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
9 months agoUpdate dependencies from https://github.com/dotnet/emsdk build 20231023.2 (#93881)
dotnet-maestro[bot] [Mon, 23 Oct 2023 20:36:15 +0000 (13:36 -0700)]
Update dependencies from https://github.com/dotnet/emsdk build 20231023.2 (#93881)

Microsoft.SourceBuild.Intermediate.emsdk , Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100
 From Version 8.0.0-rtm.23520.2 -> To Version 8.0.0-rtm.23523.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
9 months ago[release/8.0] Improve performance of UnmanagedMemoryStream (#93812)
github-actions[bot] [Mon, 23 Oct 2023 20:34:35 +0000 (13:34 -0700)]
[release/8.0] Improve performance of UnmanagedMemoryStream (#93812)

* Improve performance of UnmanagedMemoryStream

UnmanagedMemoryStream used Interlocked operations to update its state to prevent tearing of 64-bit values on 32-bit platforms. This pattern is expensive in general and it was found to be prohibitively expensive on recent hardware..

This change removes the expensive Interlocked operations and addresses
the tearing issues in alternative way:
- The _length field is converted to nuint that is guaranteed to be
  updated atomically.
- Writes to _length field are volatile to guaranteed the
  unininitialized memory cannot be read.
- The _position field remains long and it has a risk of tearing. It is
  not a problem since tearing of this field cannot lead to buffer
  overruns.

Fixes #93624

* Add comment

---------

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
9 months agoOverride InformationalVersion for NativeAOT corelib too
Alexander Köplinger [Mon, 23 Oct 2023 17:48:04 +0000 (19:48 +0200)]
Override InformationalVersion for NativeAOT corelib too

9 months ago[release/8.0] Update APICompat settings under source build (#93865)
github-actions[bot] [Mon, 23 Oct 2023 15:22:57 +0000 (17:22 +0200)]
[release/8.0] Update APICompat settings under source build (#93865)

* Update APICompat settings under source build

* Update resolveContract.targets

---------

Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
9 months agoMerge branch 'release/8.0' into StableBranding8
Larry Ewing [Mon, 23 Oct 2023 11:27:30 +0000 (06:27 -0500)]
Merge branch 'release/8.0' into StableBranding8

9 months ago[release/8.0] Update dependencies from dotnet/emsdk (#93801)
dotnet-maestro[bot] [Mon, 23 Oct 2023 11:26:29 +0000 (06:26 -0500)]
[release/8.0] Update dependencies from dotnet/emsdk (#93801)

* Update dependencies from https://github.com/dotnet/emsdk build 20231020.2

Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
 From Version 8.0.0-rtm.23511.3 -> To Version 8.0.0-rtm.23520.2

* switch to the stable version now

* Update dependencies

* Also fix the trigger

* pin the wbt sdk to avoid the latest analizer nonsense

* Use source generation for the serializer

* Try to make sourcebuild happy

* Try again to make sourcebuild happy

* Use reflection and suppress trim analysis instead

This reverts commit 768b65bab585f303bca6e0e9a36cf06d59e90387.

* Fix reverting too much

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
9 months agoHandle an empty bandPreleaseVersion
Larry Ewing [Sat, 21 Oct 2023 02:40:23 +0000 (21:40 -0500)]
Handle an empty bandPreleaseVersion

9 months ago[release/8.0] Stable branding for .NET 8 GA
Carlos Sánchez López [Fri, 20 Oct 2023 23:22:43 +0000 (16:22 -0700)]
[release/8.0] Stable branding for .NET 8 GA

9 months agoAdd runtime base address to Native AOT crash info JSON (#93791)
github-actions[bot] [Fri, 20 Oct 2023 23:16:14 +0000 (16:16 -0700)]
Add runtime base address to Native AOT crash info JSON (#93791)

The Native AOT Watson and SOS support needs to the module's base address containing
the runtime for adequate performance. Add the module base address in the crash info
as "runtime_base". Changed the "runtime" to the clearer "runtime_version" property.

Verified the address in local testing. Modified the !crashinfo command in SOS to display this new base address.

Very low. Native AOT unhandled exception crash info.

Co-authored-by: Mike McLaughlin <mikem@microsoft.com>
9 months ago[release/8.0] Add package readme to System.Numerics.Tensors (#93806)
github-actions[bot] [Fri, 20 Oct 2023 23:07:05 +0000 (16:07 -0700)]
[release/8.0] Add package readme to System.Numerics.Tensors (#93806)

* Add package readme to System.Numerics.Tensors

* Update src/libraries/System.Numerics.Tensors/src/PACKAGE.md

* Update src/libraries/System.Numerics.Tensors/src/PACKAGE.md

* Update src/libraries/System.Numerics.Tensors/src/PACKAGE.md

Co-authored-by: Stephen Toub <stoub@microsoft.com>
---------

Co-authored-by: Eric StJohn <ericstj@microsoft.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
9 months ago[release/8.0] Vectorize TensorPrimitives APIs (#93746)
Michael Sharp [Fri, 20 Oct 2023 23:01:42 +0000 (16:01 -0700)]
[release/8.0] Vectorize TensorPrimitives APIs (#93746)

* Use FMA in TensorPrimitives (#92205)

* Simplify TensorPrimitive's AbsoluteOperator (#92577)

Vector{128/256/512} all provide Abs; no need to do this manually.

* Reduce some boilerplate in TensorPrimitive's IBinaryOperator (#92576)

Change a few of the static abstract interface methods to be virtual, as most implementations throw from these methods; we can consolidate that throwing to the base.

* Minor code cleanup in TensorPrimitives tests (#92575)

* Normalize some test naming

* Alphabetize tests

* Improve mistmatched length tests with all positions of the shorter tensor

* Alphabetize methods in TensorPrimitives.cs

* Vectorize TensorPrimitives.Min/Max{Magnitude} (#92618)

* Vectorize TensorPrimitives.Min/Max{Magnitude}

* Use AdvSimd.Max/Min

* Rename some parameters/locals for consistency

* Improve HorizontalAggregate

* Move a few helpers

* Avoid scalar path for returning found NaN

* Update TensorPrimitives aggregations to vectorize handling of remaining elements (#92672)

* Update TensorPrimitives.CosineSimilarity to vectorize handling of remaining elements

* Vectorize remainder handling for Aggregate helpers

* Flesh out TensorPrimitives XML docs (#92749)

* Flesh out TensorPrimitives XML docs

* Address PR feedback

- Remove use of FusedMultiplyAdd from all but CosineSimilarity
- Remove comments about platform/OS-specific behavior from Add/AddMultiply/Subtract/Multiply/MultiplyAdd/Divide/Negate
- Loosen comments about NaN and which exact one is returned

* Address PR feedback

* Vectorize TensorPrimitives.ConvertToHalf (#92715)

* Enable TensorPrimitives to perform in-place operations (#92820)

Some operations would produce incorrect results if the same span was passed as both an input and an output.  When vectorization was employed but the span's length wasn't a perfect multiple of a vector, we'd do the standard trick of performing one last operation on the last vector's worth of data; however, that relies on the operation being idempotent, and if a previous operation has overwritten input with a new value due to the same memory being used for input and output, some operations won't be idempotent.  This fixes that by masking off the already processed elements.  It adds tests to validate in-place use works, and it updates the docs to carve out this valid overlapping.

* Vectorize TensorPrimitives.ConvertToSingle (#92779)

* Vectorize TensorPrimitives.ConvertToSingle

* Address PR feedback

* Throw exception in TensorPrimitives for unsupported span overlaps (#92838)

* This vectorizes TensorPrimitives.Log2 (#92897)

* Add a way to support operations that can't be vectorized on netstandard

* Updating TensorPrimitives.Log2 to be vectorized on .NET Core

* Update src/libraries/System.Numerics.Tensors/src/System/Numerics/Tensors/TensorPrimitives.netstandard.cs

Co-authored-by: Stephen Toub <stoub@microsoft.com>
* Ensure we do an arithmetic right shift in the Log2 vectorization

* Ensure the code can compile on .NET 7

* Ensure that edge cases are properly handled and don't resolve to `x`

* Ensure that Log2 special results are explicitly handled.

---------

Co-authored-by: Stephen Toub <stoub@microsoft.com>
* Adding Log2 tests covering some special values (#92946)

* [wasm] Disable `TensorPrimitivesTests.ConvertToHalf_SpecialValues` (#92953)

Failing test: `System.Numerics.Tensors.Tests.TensorPrimitivesTests.ConvertToHalf_SpecialValues`

Issue: https://github.com/dotnet/runtime/issues/92885

* Adding a vectorized implementation of TensorPrimitives.Log (#92960)

* Adding a vectorized implementation of TensorPrimitives.Log

* Make sure to hit Ctrl+S

* Consolidate some TensorPrimitivesTests logic around special values (#92982)

* Vectorize TensorPrimitives.Exp (#93018)

* Vectorize TensorPrimitives.Exp

* Update src/libraries/System.Numerics.Tensors/src/System/Numerics/Tensors/TensorPrimitives.netstandard.cs

* Vectorize TensorPrimitives.Sigmoid and TensorPrimitives.SoftMax (#93029)

* Vectorize TensorPrimitives.Sigmoid and TensorPrimitives.SoftMax

- Adds a SigmoidOperator that just wraps the ExpOperator
- Vectorizes both passes of SoftMax, on top of ExpOperator. Simplest way to do this was to augment the existing InvokeSpanScalarIntoSpan to take a transform operator.
- In doing so, found some naming inconsistencies I'd previously introduced, so I did some automatic renaming to make things more consistent.
- Added XML comments to all the internal/private surface area.
- Fleshes out some tests (and test values).

* Disable tests on mono

* Address PR feedback

* Vectorize TensorPrimitives.Tanh/Cosh/Sinh (#93093)

* Vectorize TensorPrimitives.Tanh/Cosh/Sinh

Tanh and Cosh are based on AOCL-LibM.

AOCL-LibM doesn't appear to have a sinh implementation, so this Sinh is just based on the sinh formula based on exp(x).

I also augmented the tests further, including:
- Added more tests for sinh/cosh/tanh
- Add an equality routine that supports comparing larger values with a tolerance
- Tightened the tolerance for most functions
- Changed some tests to be theories to be consistent with style elsewhere in the tests
- Fixed some use of Math to be MathF

* Remove unnecessary special-handling path from cosh

* Remove unnecessary special-handling path from tanh

* Redo sinh based on cosh

* Address PR feedback

* Replace confusing new T[] { ... }

* Remove a few unnecessary `unsafe` keyword uses in TensorPrimitives (#93219)

* Consolidate a few exception throws in TensorPrimitives (#93168)

* Fix TensorPrimitives.IndexOfXx corner-case when first element is seed value (#93169)

* Fix TensorPrimitives.IndexOfXx corner-case when first element is seed value

Found as part of adding more tests for Min/Max{Magnitude} to validate they match their IndexOfXx variants.

* Address PR feedback

* Improve a vector implementation to support alignment and non-temporal tores (#93296)

* Improve a vector implementation to support alignment and non-temporal stores

* Fix a build error and mark a couple methods as AggressiveInlining

* Fix the remaining block count computation

* Ensure overlapping for small data on the V256/512 is handled

* Ensure we only go down the vectorized path when supported for netstandard

* Mark TensorPrimitives as unsafe (#93412)

* Use the improved vectorization algorithm for binary and ternary TensorPrimitives operations (#93409)

* Update InvokeSpanSpanIntoSpan<TBinaryOperator> for TensorPrimitives to use the better SIMD algorithm

* Update InvokeSpanScalarIntoSpan<TTransformOperator, TBinaryOperator> for TensorPrimitives to use the better SIMD algorithm

* Update InvokeSpanSpanSpanIntoSpan<TTernaryOperator> for TensorPrimitives to use the better SIMD algorithm

* Update InvokeSpanSpanScalarIntoSpan<TTernaryOperator> for TensorPrimitives to use the better SIMD algorithm

* Update InvokeSpanScalarSpanIntoSpan<TTernaryOperator> for TensorPrimitives to use the better SIMD algorithm

* Improve codegen slightly by using case 0, rather than default

* Adjust the canAlign check to be latter, to reduce branch count for data under the threshold

* Add a comment explaining the NonTemporalByteThreshold

* Make sure xTransformOp.CanVectorize is checked on .NET Standard

* Use the improved vectorization algorithm for aggregate TensorPrimitives operations (#93695)

* Improve the handling of the IAggregationOperator implementations

* Update Aggregate<TTransformOperator, TAggregationOperator> for TensorPrimitives to use the better SIMD algorithm

* Update Aggregate<TBinaryOperator, TAggregationOperator> for TensorPrimitives to use the better SIMD algorithm

* Respond to PR feedback

* [wasm] Remove more active issues for #92885 (#93596)

* adding patch from pr 93556

* Vectorizes IndexOfMin/Max/Magnitude (#93469)

* resolved merge conflicts

* net core full done

* minor code cleanup

* NetStandard and PR fixes.

* minor pr changes

* Fix IndexOfMaxMagnitudeOperator

* Fix IndexOfMaxMagnitudeOperator on netcore

* updates from PR comments

* netcore fixed

* net standard updated

* add reference assembly exclusions

* made naive approach better

* resolved PR comments

* minor comment changes

* minor formatting fixes

* added inlining

* fixes from PR comments

* comments from pr

* fixed spacing

---------

Co-authored-by: Eric StJohn <ericstj@microsoft.com>
---------

Co-authored-by: Stephen Toub <stoub@microsoft.com>
Co-authored-by: Tanner Gooding <tagoo@outlook.com>
Co-authored-by: Ankit Jain <radical@gmail.com>
Co-authored-by: Radek Doulik <radek.doulik@gmail.com>
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
9 months ago[release/8.0] Update dependencies from dotnet/sdk (#93783)
dotnet-maestro[bot] [Fri, 20 Oct 2023 23:00:17 +0000 (16:00 -0700)]
[release/8.0] Update dependencies from dotnet/sdk (#93783)

* Update dependencies from https://github.com/dotnet/sdk build 20231020.8

Microsoft.DotNet.ApiCompat.Task
 From Version 8.0.100-preview.7.23329.3 -> To Version 8.0.100-rtm.23520.8

* Update CompatibilitySuppressions.xml

* Update ApiCompatBaseline.netstandard2.0.xml

* Update ApiCompatBaseline.netstandard2.1.xml

* Suppress intentional ObsoleteAttribute parameter change

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
9 months ago[release/8.0] [iOS][non-icu] HybridGlobalization Get available locales (#93751)
github-actions[bot] [Fri, 20 Oct 2023 22:58:53 +0000 (15:58 -0700)]
[release/8.0] [iOS][non-icu] HybridGlobalization Get available locales (#93751)

* Get available locales hybrid mode

* Fix the exception when value is empty

* Apply changes requested by review,fix currencyCode

* Add test case

* Add braces and fix order in csproj

---------

Co-authored-by: Meri Khamoyan <merikhamoyan@microsoft.com>
9 months agoFix options source gen test (#93782)
github-actions[bot] [Fri, 20 Oct 2023 20:25:28 +0000 (13:25 -0700)]
Fix options source gen test (#93782)

Co-authored-by: Tarek Mahmoud Sayed <tarekms@microsoft.com>
9 months agoUpdate dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimizati...
dotnet-maestro[bot] [Fri, 20 Oct 2023 20:24:34 +0000 (13:24 -0700)]
Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20231019.5 (#93776)

optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.23515.2 -> To Version 1.0.0-prerelease.23519.5

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
9 months ago[release/8.0] Fix analysis of interface methods on generic types (#93748)
github-actions[bot] [Fri, 20 Oct 2023 20:22:29 +0000 (13:22 -0700)]
[release/8.0] Fix analysis of interface methods on generic types (#93748)

* Fix analysis of interface methods on generic types

Fixes an issue observed in #92881. The dependency analysis within the compiler was incorrectly considering `Equals(object x, object y)` to be the implementation of `IEqualityComparer<T>.Equals(T, T)`. When we generate the interface dispatch table, we'd use the correct algorithm (that looks at uninstantiated types) and fail the compilation. The fix is to use the same algorithm during dependency analysis.

Looks like this has been broken ever since interface support was added to CoreRT: https://github.com/dotnet/corert/pull/626.

* Stop building a test

---------

Co-authored-by: Michal Strehovský <MichalStrehovsky@users.noreply.github.com>
Co-authored-by: Andy Gocke <angocke@microsoft.com>
9 months ago[release/8.0] Support specifying multiple directories through SSL_CERT_DIR. (#93749)
github-actions[bot] [Fri, 20 Oct 2023 20:22:10 +0000 (13:22 -0700)]
[release/8.0] Support specifying multiple directories through SSL_CERT_DIR. (#93749)

* Support specifying multiple directories through SSL_CERT_DIR.

* Apply suggestions from code review

Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
Co-authored-by: Kevin Jones <vcsjones@github.com>
* PR feedback.

* Only check for duplicates when there's at least 2 directories.

---------

Co-authored-by: Tom Deseyn <tom.deseyn@gmail.com>
Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
Co-authored-by: Kevin Jones <vcsjones@github.com>
Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com>
9 months ago[release/8.0] Update dependencies from dotnet/arcade (#93727)
dotnet-maestro[bot] [Fri, 20 Oct 2023 20:11:41 +0000 (22:11 +0200)]
[release/8.0] Update dependencies from dotnet/arcade (#93727)

* Update dependencies from https://github.com/dotnet/arcade build 20231016.4

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.23505.1 -> To Version 8.0.0-beta.23516.4

* use latest daily for workload testing

* Update dependencies from https://github.com/dotnet/arcade build 20231016.4

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.23505.1 -> To Version 8.0.0-beta.23516.4

* Respond to post rc1 template changes

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
9 months agoMerge pull request #93769 from dotnet/PackageReadmesContinued80Backport
Viktor Hofer [Fri, 20 Oct 2023 08:10:03 +0000 (10:10 +0200)]
Merge pull request #93769 from dotnet/PackageReadmesContinued80Backport

[release/8.0] Add package readmes (continued)

9 months agoRemove en-us culture code from URIs
Viktor Hofer [Fri, 20 Oct 2023 07:56:23 +0000 (09:56 +0200)]
Remove en-us culture code from URIs

9 months agoProvide System.Security.Cryptography.ProtectedData package readme (#93660)
Michaël Hompus [Thu, 19 Oct 2023 22:05:04 +0000 (00:05 +0200)]
Provide System.Security.Cryptography.ProtectedData package readme (#93660)

* Provide Cryptography.ProtectedData package readme

* Processing review comments

* Remove paragraph and improve sentence

* Improve code sample

9 months agoProvide System.Memory.Data package readme (#93516)
Michaël Hompus [Thu, 19 Oct 2023 19:42:26 +0000 (21:42 +0200)]
Provide System.Memory.Data package readme (#93516)

* Provide System.Memory.Data package readme

* Update src/libraries/System.Memory.Data/src/PACKAGE.md

---------

Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
9 months agoProvide Microsoft.Extensions.Caching.Abstractions package readme (#93653)
Michaël Hompus [Thu, 19 Oct 2023 19:37:30 +0000 (21:37 +0200)]
Provide Microsoft.Extensions.Caching.Abstractions package readme (#93653)

* Provide Caching.Abstractions package readme

* Process feedback

9 months agoProvide Microsoft.Extensions.Options.DataAnnotations package readme (#93657)
Michaël Hompus [Wed, 18 Oct 2023 20:05:14 +0000 (22:05 +0200)]
Provide Microsoft.Extensions.Options.DataAnnotations package readme (#93657)

9 months agoProvide System.IO.Hashing package readme (#93567)
Michaël Hompus [Wed, 18 Oct 2023 06:14:30 +0000 (08:14 +0200)]
Provide System.IO.Hashing package readme (#93567)

9 months agoProvide DirectoryServices.Protocols package readme (#93518)
Michaël Hompus [Tue, 17 Oct 2023 23:45:52 +0000 (01:45 +0200)]
Provide DirectoryServices.Protocols package readme (#93518)

9 months agoProvide Microsoft.Extentions.FileProviders.Physical package readme (#93485)
Michaël Hompus [Tue, 17 Oct 2023 22:34:36 +0000 (00:34 +0200)]
Provide Microsoft.Extentions.FileProviders.Physical package readme (#93485)

* Provide FileProviders.Physical package readme

* Remove whitespace

9 months agoProvide Microsoft.Extentions.FileProviders.Abstractions package readme (#93489)
Michaël Hompus [Tue, 17 Oct 2023 22:34:17 +0000 (00:34 +0200)]
Provide Microsoft.Extentions.FileProviders.Abstractions package readme (#93489)

* Provide FileProviders.Abstractions package readme

* Improve how to use section

9 months agoMicrosoft.Extensions.FileSystemGlobbing PACKAGE.md (#93123)
Logan Payton [Mon, 9 Oct 2023 08:59:47 +0000 (03:59 -0500)]
Microsoft.Extensions.FileSystemGlobbing PACKAGE.md (#93123)

* Microsoft.Extensions.FileSystemGlobbing PACKAGE.md

Fill out details for `Microsoft.Extensions.FileSystemGlobbing` NuGet
package readme

See https://github.com/dotnet/runtime/pull/92228

* Update src/libraries/Microsoft.Extensions.FileSystemGlobbing/src/PACKAGE.md

* Update src/libraries/Microsoft.Extensions.FileSystemGlobbing/src/PACKAGE.md

---------

Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
9 months agoSystem.Formats.Cbor package's readme (#93021)
Illia Larka [Mon, 9 Oct 2023 08:56:12 +0000 (10:56 +0200)]
System.Formats.Cbor package's readme (#93021)

* Remove conceptual docummentation item

Removed since is not applicable

* List types library provides

Add list of types which library provides. Listed
public types, means exposed types.

* Add description and usage examples

Add library description. Add few code examples
showing basic functionality for CBOR wirter and reader
types.

* Add related packages section

Since different targets have different dependencies
so I have divided for each section.

* Improve short description

Add 'format' word after abbreviation to have an object
in sentence.

* Remove related packages section

Since there are no related packages.

* Improve array reading/writing example

9 months agoUpdate Microsoft.Bcl.Cryptography/src/PACKAGE.md
Kevin Jones [Wed, 4 Oct 2023 16:26:19 +0000 (12:26 -0400)]
Update Microsoft.Bcl.Cryptography/src/PACKAGE.md

9 months agoFix PACKAGE.md typo (#92989)
Illia Larka [Wed, 4 Oct 2023 09:46:03 +0000 (11:46 +0200)]
Fix PACKAGE.md typo (#92989)

Typo in word 'Defult' fixed to 'Default'.

Fix #92228

9 months agoMicrosoft.Extensions.Logging.TraceSource package readme update (#92962)
Illia Larka [Tue, 3 Oct 2023 21:01:12 +0000 (23:01 +0200)]
Microsoft.Extensions.Logging.TraceSource package readme update (#92962)

Fix #92228

9 months agoInitialize package readmes
Viktor Hofer [Mon, 18 Sep 2023 15:02:13 +0000 (17:02 +0200)]
Initialize package readmes

9 months agoJIT: remove incorrect type deduction for an Unsafe.As case (#93703)
github-actions[bot] [Fri, 20 Oct 2023 00:12:32 +0000 (17:12 -0700)]
JIT: remove incorrect type deduction for an Unsafe.As case (#93703)

Thanks to @SingleAccretion for the fix.

The JIT was assuming that an indirectly accessed value type field had
the type of the field, but that might not be the case if the field
was accessed via `Unsafe.As`.

Fix this by limiting type deduction from these indirectly accessed fields
to only ref type fields.

Closes #93650.

Co-authored-by: Andy Ayers <andya@microsoft.com>
9 months agoUpdate dependencies from https://github.com/dotnet/source-build-externals build 20231...
dotnet-maestro[bot] [Thu, 19 Oct 2023 20:40:22 +0000 (14:40 -0600)]
Update dependencies from https://github.com/dotnet/source-build-externals build 20231018.1 (#93728)

Microsoft.SourceBuild.Intermediate.source-build-externals
 From Version 8.0.0-alpha.1.23502.1 -> To Version 8.0.0-alpha.1.23518.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
9 months agoUpdate dependencies from https://github.com/dotnet/hotreload-utils build 20231018...
dotnet-maestro[bot] [Thu, 19 Oct 2023 20:40:05 +0000 (14:40 -0600)]
Update dependencies from https://github.com/dotnet/hotreload-utils build 20231018.2 (#93726)

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 8.0.0-alpha.0.23509.1 -> To Version 8.0.0-alpha.0.23518.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
9 months ago[wasm] Fix SIMD fmin and fmax (#93677)
Radek Doulik [Thu, 19 Oct 2023 20:36:14 +0000 (22:36 +0200)]
[wasm] Fix SIMD fmin and fmax (#93677)

So that it propagates NaNs

9 months agoUpdate dependencies from https://github.com/dotnet/roslyn build 20231018.7 (#93700)
dotnet-maestro[bot] [Wed, 18 Oct 2023 23:55:59 +0000 (16:55 -0700)]
Update dependencies from https://github.com/dotnet/roslyn build 20231018.7 (#93700)

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.8.0-3.23518.2 -> To Version 4.8.0-3.23518.7

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
9 months ago[release/8.0] [mono] Disallow casts of bounded arrays to array special interfaces...
github-actions[bot] [Wed, 18 Oct 2023 23:54:10 +0000 (16:54 -0700)]
[release/8.0] [mono] Disallow casts of bounded arrays to array special interfaces (#93617)

* [mono] Disallow casts of bounded arrays to array special interfaces

Fixes https://github.com/dotnet/runtime/issues/93597

* exclude lower bound regression test on NativeAOT

* try to fix nativaot exclude

---------

Co-authored-by: Aleksey Kliger <alklig@microsoft.com>
9 months ago[release/8.0] Revert "Workaround a C++/CLI bug involving DIMs (#89253)" (#93679)
github-actions[bot] [Wed, 18 Oct 2023 23:38:33 +0000 (16:38 -0700)]
[release/8.0] Revert "Workaround a C++/CLI bug involving DIMs (#89253)" (#93679)

* Revert "Workaround a C++/CLI bug involving DIMs (#89253)"

This reverts commit 812492e94de8dbe76ff1d6d13f298b010764adef.

* Remove trailing whitespace added by the revert

---------

Co-authored-by: Tanner Gooding <tagoo@outlook.com>
Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com>
9 months agoEnsure Parallel.ForAsync unregisters from CancellationToken (#93674)
github-actions[bot] [Wed, 18 Oct 2023 18:20:20 +0000 (11:20 -0700)]
Ensure Parallel.ForAsync unregisters from CancellationToken (#93674)

Co-authored-by: Stephen Toub <stoub@microsoft.com>
9 months agoFix build of IJW test after VS upgrade (#93649)
github-actions[bot] [Wed, 18 Oct 2023 17:06:58 +0000 (10:06 -0700)]
Fix build of IJW test after VS upgrade (#93649)

The latest build of VS carries a C/C++ compiler which produces warning C5271:
```
src\native\corehost\test\ijw\ijw.cpp(6): warning C5271: consider replacing #using <System.Console.dll>  with command line argument /FU "F:\dotnet\runtime2\.dotnet\packs\Microsoft.NETCore.App.Ref\8.0.0-rc.1.23414.4\ref\net8.0\System.Console.dll"
src\native\corehost\test\ijw\ijw.cpp(7): warning C5271: consider replacing #using <System.Runtime.Loader.dll>  with command line argument /FU "F:\dotnet\runtime2\.dotnet\packs\Microsoft.NETCore.App.Ref\8.0.0-rc.1.23414.4\ref\net8.0\System.Runtime.Loader.dll"
```

This breaks the build on Windows. For now I'm disabling the warning as the real fix is more complex (we would need to calculate the path to the required assemblies in CMake somehow).

Co-authored-by: vitek-karas <10670590+vitek-karas@users.noreply.github.com>
9 months ago[release/8.0] Update dependencies from dotnet/roslyn (#93642)
dotnet-maestro[bot] [Wed, 18 Oct 2023 15:49:47 +0000 (08:49 -0700)]
[release/8.0] Update dependencies from dotnet/roslyn (#93642)

* Update dependencies from https://github.com/dotnet/roslyn build 20231017.14

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.8.0-3.23517.7 -> To Version 4.8.0-3.23517.14

* Update dependencies from https://github.com/dotnet/roslyn build 20231018.2

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.8.0-3.23517.7 -> To Version 4.8.0-3.23518.2

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
9 months ago[release/8.0] Remove base type rooting for types in rooted assemblies (#93355)
github-actions[bot] [Wed, 18 Oct 2023 15:44:14 +0000 (08:44 -0700)]
[release/8.0] Remove base type rooting for types in rooted assemblies (#93355)

* Remove base type rooting for types in rooted assemblies

When rooting entire assemblies NativeAOT also roots all base types of all the types in such assembly. Regardless of which assembly the base type comes from. Historically this was necessary to make certain combinations of generic instantiations to work, but that's no longer the case. The compiler has better mechanism of tracking necessary things for generics now.

This rooting behavior brings in more code than necessary. This is specifically problematic when using the assembly rooting as a mechanism to test library trim/AOT compatibility. If the tested library depends on another library which has some incompatible code in it, but it's not used, ideally the compiler should remove the unused code and thus not see the incompatibilities. Rooting entire base types sometimes breaks that behavior and produces unnecessary warnings.

The product change is really just "don't root the base type", all of the rest of the change is tests. Modified existing test to validate more things around rooting behavior across assemblies. And then infrastructure changes to make it possible to use this test from NativeAOT.

This brings the behavior of NativeAOT and trimmer much closer with regard to assembly rooting.

* Limit the impact only to rooted assemblies

Rooting from rd.xml is kept as before (rooting a type will also root its base types). Given that rd.xml is already very problematic and tricky and people rely on all kinds of "accidental" behavior, it's not worth the break - there's not much complexity in keeping this behavior there.

Update trimming tests which started to fail after the infra updates. Mostly disable the tests for NativeAOT as they don't make sense on AOT.

* Fix reflection in PriorityQueue test

* Fix some of the outerloop test failures

* Fix one more test

* Fix a build break in tests after the merge with 8.0

---------

Co-authored-by: vitek-karas <10670590+vitek-karas@users.noreply.github.com>
Co-authored-by: Andy Gocke <angocke@microsoft.com>
9 months agoUpdate dependencies from https://github.com/dotnet/roslyn build 20231017.7 (#93628)
dotnet-maestro[bot] [Tue, 17 Oct 2023 23:34:16 +0000 (17:34 -0600)]
Update dependencies from https://github.com/dotnet/roslyn build 20231017.7 (#93628)

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.8.0-3.23510.8 -> To Version 4.8.0-3.23517.7

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
9 months ago[release/8.0] Update dependencies from 7 repositories (#93282)
dotnet-maestro[bot] [Tue, 17 Oct 2023 21:48:56 +0000 (14:48 -0700)]
[release/8.0] Update dependencies from 7 repositories (#93282)

* Update dependencies from https://github.com/dotnet/cecil build 20231009.2

Microsoft.DotNet.Cecil
 From Version 0.11.4-alpha.23502.1 -> To Version 0.11.4-alpha.23509.2

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20231009.1

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 8.0.0-alpha.0.23502.1 -> To Version 8.0.0-alpha.0.23509.1

* Update dependencies from https://github.com/dotnet/icu build 20231009.2

Microsoft.NETCore.Runtime.ICU.Transport
 From Version 8.0.0-rc.2.23468.2 -> To Version 8.0.0-rtm.23509.2

* Update dependencies from https://github.com/dotnet/cecil build 20231009.2

Microsoft.DotNet.Cecil
 From Version 0.11.4-alpha.23502.1 -> To Version 0.11.4-alpha.23509.2

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20231009.1

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 8.0.0-alpha.0.23502.1 -> To Version 8.0.0-alpha.0.23509.1

* Update dependencies from https://github.com/dotnet/icu build 20231009.2

Microsoft.NETCore.Runtime.ICU.Transport
 From Version 8.0.0-rc.2.23468.2 -> To Version 8.0.0-rtm.23509.2

* Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20231010.2

Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 8.0.0-alpha.1.23471.1 -> To Version 8.0.0-alpha.1.23510.2

* Update dependencies from https://github.com/dotnet/emsdk build 20231011.2

Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
 From Version 8.0.0-rtm.23504.4 -> To Version 8.0.0-rtm.23511.2

* Update dependencies from https://github.com/dotnet/emsdk build 20231011.3

Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
 From Version 8.0.0-rtm.23504.4 -> To Version 8.0.0-rtm.23511.3

* Update dependencies from https://github.com/dotnet/cecil build 20231009.2

Microsoft.DotNet.Cecil
 From Version 0.11.4-alpha.23502.1 -> To Version 0.11.4-alpha.23509.2

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20231009.1

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 8.0.0-alpha.0.23502.1 -> To Version 8.0.0-alpha.0.23509.1

* Update dependencies from https://github.com/dotnet/icu build 20231011.1

Microsoft.NETCore.Runtime.ICU.Transport
 From Version 8.0.0-rc.2.23468.2 -> To Version 8.0.0-rtm.23511.1

* Update dependencies from https://github.com/dotnet/arcade build 20231005.1

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.23477.4 -> To Version 8.0.0-beta.23505.1

* Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20231010.2

Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 8.0.0-alpha.1.23471.1 -> To Version 8.0.0-alpha.1.23510.2

* Update dependencies from https://github.com/dotnet/cecil build 20231009.2

Microsoft.DotNet.Cecil
 From Version 0.11.4-alpha.23502.1 -> To Version 0.11.4-alpha.23509.2

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20231009.1

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 8.0.0-alpha.0.23502.1 -> To Version 8.0.0-alpha.0.23509.1

* Update dependencies from https://github.com/dotnet/icu build 20231011.1

Microsoft.NETCore.Runtime.ICU.Transport
 From Version 8.0.0-rc.2.23468.2 -> To Version 8.0.0-rtm.23511.1

* Update dependencies from https://github.com/dotnet/arcade build 20231005.1

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.23477.4 -> To Version 8.0.0-beta.23505.1

* Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20231010.2

Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 8.0.0-alpha.1.23471.1 -> To Version 8.0.0-alpha.1.23510.2

* Update dependencies from https://github.com/dotnet/cecil build 20231009.2

Microsoft.DotNet.Cecil
 From Version 0.11.4-alpha.23502.1 -> To Version 0.11.4-alpha.23509.2

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20231009.1

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 8.0.0-alpha.0.23502.1 -> To Version 8.0.0-alpha.0.23509.1

* Update dependencies from https://github.com/dotnet/icu build 20231011.1

Microsoft.NETCore.Runtime.ICU.Transport
 From Version 8.0.0-rc.2.23468.2 -> To Version 8.0.0-rtm.23511.1

* Update dependencies from https://github.com/dotnet/arcade build 20231005.1

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.23477.4 -> To Version 8.0.0-beta.23505.1

* Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20231010.2

Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 8.0.0-alpha.1.23471.1 -> To Version 8.0.0-alpha.1.23510.2

* Update dependencies from https://github.com/dotnet/cecil build 20231009.2

Microsoft.DotNet.Cecil
 From Version 0.11.4-alpha.23502.1 -> To Version 0.11.4-alpha.23509.2

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20231009.1

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 8.0.0-alpha.0.23502.1 -> To Version 8.0.0-alpha.0.23509.1

* Update dependencies from https://github.com/dotnet/icu build 20231011.1

Microsoft.NETCore.Runtime.ICU.Transport
 From Version 8.0.0-rc.2.23468.2 -> To Version 8.0.0-rtm.23511.1

* Update dependencies from https://github.com/dotnet/arcade build 20231005.1

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.23477.4 -> To Version 8.0.0-beta.23505.1

* Update dependencies from https://github.com/dotnet/cecil build 20231009.2

Microsoft.DotNet.Cecil
 From Version 0.11.4-alpha.23502.1 -> To Version 0.11.4-alpha.23509.2

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20231009.1

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 8.0.0-alpha.0.23502.1 -> To Version 8.0.0-alpha.0.23509.1

* Update dependencies from https://github.com/dotnet/icu build 20231011.1

Microsoft.NETCore.Runtime.ICU.Transport
 From Version 8.0.0-rc.2.23468.2 -> To Version 8.0.0-rtm.23511.1

* Update dependencies from https://github.com/dotnet/arcade build 20231005.1

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.23477.4 -> To Version 8.0.0-beta.23505.1

* Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20231010.2

Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 8.0.0-alpha.1.23471.1 -> To Version 8.0.0-alpha.1.23510.2

* Update dependencies from https://github.com/dotnet/cecil build 20231009.2

Microsoft.DotNet.Cecil
 From Version 0.11.4-alpha.23502.1 -> To Version 0.11.4-alpha.23509.2

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20231009.1

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 8.0.0-alpha.0.23502.1 -> To Version 8.0.0-alpha.0.23509.1

* Update dependencies from https://github.com/dotnet/icu build 20231011.1

Microsoft.NETCore.Runtime.ICU.Transport
 From Version 8.0.0-rc.2.23468.2 -> To Version 8.0.0-rtm.23511.1

* Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20231016.2

Microsoft.CodeAnalysis.Analyzers , Microsoft.CodeAnalysis.NetAnalyzers
 From Version 3.11.0-beta1.23472.1 -> To Version 3.11.0-beta1.23516.2

* Update dependencies from https://github.com/dotnet/arcade build 20231005.1

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.23477.4 -> To Version 8.0.0-beta.23505.1

* Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20231016.4

Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 8.0.0-alpha.1.23471.1 -> To Version 8.0.0-alpha.1.23516.4

* Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20231016.2

Microsoft.CodeAnalysis.Analyzers , Microsoft.CodeAnalysis.NetAnalyzers
 From Version 3.11.0-beta1.23472.1 -> To Version 3.11.0-beta1.23516.2

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
9 months ago[release/8.0] Update dependencies from dnceng/internal/dotnet-optimization (#93549)
dotnet-maestro[bot] [Tue, 17 Oct 2023 19:09:03 +0000 (12:09 -0700)]
[release/8.0] Update dependencies from dnceng/internal/dotnet-optimization (#93549)

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20231015.2

optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.23512.4 -> To Version 1.0.0-prerelease.23515.2

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20231015.2

optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.23512.4 -> To Version 1.0.0-prerelease.23515.2

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
9 months ago[release/8.0] [hot reload][debugger] Resolve field types before use (#93559)
github-actions[bot] [Tue, 17 Oct 2023 18:29:11 +0000 (11:29 -0700)]
[release/8.0] [hot reload][debugger] Resolve field types before use (#93559)

* adding test case failing

* fixup test - expect null value, not empty string

* [debugger] resolve field types before use

* don't shadow names

---------

Co-authored-by: Thays Grazia <thaystg@gmail.com>
Co-authored-by: Aleksey Kliger <alklig@microsoft.com>
9 months agoMention Frozen.* types in PACKAGE.md for System.Collections.Immutable (#93561)
github-actions[bot] [Mon, 16 Oct 2023 20:05:12 +0000 (13:05 -0700)]
Mention Frozen.* types in PACKAGE.md for System.Collections.Immutable (#93561)

Co-authored-by: Nikita Balabaev <xakep139@users.noreply.github.com>
9 months agoTcpReceiveSendGetsCanceledByDispose: update test for change in Linux kernel. (#93502)
github-actions[bot] [Mon, 16 Oct 2023 20:02:05 +0000 (13:02 -0700)]
TcpReceiveSendGetsCanceledByDispose: update test for change in Linux kernel. (#93502)

Co-authored-by: Tom Deseyn <tom.deseyn@gmail.com>
9 months agoWorkaround for https://github.com/dotnet/runtime/issues/93442 (#93528)
Jan Kotas [Mon, 16 Oct 2023 18:30:50 +0000 (11:30 -0700)]
Workaround for https://github.com/dotnet/runtime/issues/93442 (#93528)

9 months agoLocalized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 229102...
dotnet bot [Sat, 14 Oct 2023 08:22:08 +0000 (10:22 +0200)]
Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 2291029 (#93496)

* Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 2290974

* Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 2290974

9 months ago[release/8.0] Adjust System.Net metrics for OTel conformance and consistency (#93414)
Anton Firszov [Fri, 13 Oct 2023 23:35:38 +0000 (01:35 +0200)]
[release/8.0] Adjust System.Net metrics for OTel conformance and consistency (#93414)

* Rename `server.socket.address` to `network.peer.address` (#93255)

* Report Exception.FullName for http.client.request.duration/error.type (#93322)

* Adjust the DNS lookup duration metric (#93254)

9 months ago[release/8.0][wasm] Update workload description to include target framework (#93359)
Ankit Jain [Fri, 13 Oct 2023 23:34:03 +0000 (19:34 -0400)]
[release/8.0][wasm] Update workload description to include target framework (#93359)

* [wasm] Update workload description to include target framework

Issue: https://github.com/dotnet/runtime/issues/93314

* Update description for wasm-experimental, and wasi-experimental also

9 months agoUpdate dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimizati...
dotnet-maestro[bot] [Fri, 13 Oct 2023 23:32:36 +0000 (17:32 -0600)]
Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20231012.4 (#93470)

optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.23511.2 -> To Version 1.0.0-prerelease.23512.4

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
9 months agoOptimize Options Source Gen when no need to run (#93481)
github-actions[bot] [Fri, 13 Oct 2023 23:31:33 +0000 (17:31 -0600)]
Optimize Options Source Gen when no need to run (#93481)

Co-authored-by: Tarek Mahmoud Sayed <tarekms@microsoft.com>
9 months ago[release/8.0] Fix Options Source Gen with Length attributes applied on properties...
github-actions[bot] [Fri, 13 Oct 2023 23:31:21 +0000 (17:31 -0600)]
[release/8.0] Fix Options Source Gen with Length attributes applied on properties of Interface type (#93482)

* Fix Options Source Gen with LengthAttributes applied on properties of Interface type

* Add more to the test case

---------

Co-authored-by: Tarek Mahmoud Sayed <tarekms@microsoft.com>
9 months agoLocalized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 229013...
dotnet bot [Fri, 13 Oct 2023 06:30:31 +0000 (08:30 +0200)]
Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 2290133 (#93422)

9 months ago[release/8.0] JIT: Fix exponential blowup of memory dependency arrays in VNForMapSele...
github-actions[bot] [Thu, 12 Oct 2023 22:10:11 +0000 (16:10 -0600)]
[release/8.0] JIT: Fix exponential blowup of memory dependency arrays in VNForMapSelectWork (#93388)

* JIT: Fix exponential blowup of memory dependency arrays in VNForMapSelectWork

Switch to sets when accumulating the memory dependencies found in
VNForMapSelectWork. Otherwise we might duplicate each memory dependency
for every path back to the store that induced it, and there can be an
exponential number of those.

Fix #93342

* Add test

* Use SmallValueNumSet in MapSelectWorkCacheEntry

* Revert "Use SmallValueNumSet in MapSelectWorkCacheEntry"

This reverts commit b4292d762c2a0ca641c128766abc8f45236652c0.

* Fix function header

---------

Co-authored-by: Jakob Botsch Nielsen <jakob.botsch.nielsen@gmail.com>
9 months ago[release/8.0] Update dependencies from dnceng/internal/dotnet-optimization (#93283)
dotnet-maestro[bot] [Thu, 12 Oct 2023 22:07:59 +0000 (16:07 -0600)]
[release/8.0] Update dependencies from dnceng/internal/dotnet-optimization (#93283)

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20231009.2

optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.23507.6 -> To Version 1.0.0-prerelease.23509.2

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20231010.4

optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.23507.6 -> To Version 1.0.0-prerelease.23510.4

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20231011.2

optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.23507.6 -> To Version 1.0.0-prerelease.23511.2

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
9 months agoFix draining response in metrics test (#93381)
github-actions[bot] [Thu, 12 Oct 2023 21:38:39 +0000 (14:38 -0700)]
Fix draining response in metrics test (#93381)

Co-authored-by: ManickaP <mapichov@microsoft.com>
9 months ago[release/8.0] Update dependencies from dotnet/roslyn (#93267)
dotnet-maestro[bot] [Thu, 12 Oct 2023 00:13:32 +0000 (17:13 -0700)]
[release/8.0] Update dependencies from dotnet/roslyn (#93267)

* Update dependencies from https://github.com/dotnet/roslyn build 20231009.1

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.8.0-3.23504.4 -> To Version 4.8.0-3.23509.1

* Update dependencies from https://github.com/dotnet/roslyn build 20231010.8

Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset
 From Version 4.8.0-3.23504.4 -> To Version 4.8.0-3.23510.8

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
9 months ago[android][ios] Fix dispose problem with NativeHttpHandlers (#93262) (#93291)
Steve Pfister [Thu, 12 Oct 2023 00:12:22 +0000 (17:12 -0700)]
[android][ios] Fix dispose problem with NativeHttpHandlers (#93262) (#93291)

https://github.com/dotnet/runtime/pull/90298 made sure the MetricsHandler was the top level handler for all NativeHttpHandler requests similar to what is done with SocketsHttpHandler. After creating the MetricsHandler, the code mistakenly disposed of `_nativeHandler`, which resulted in `Dispose` being called multiple times and eventually throwing a `Cannot access a disposed object` exception.

Fixes https://github.com/dotnet/runtime/issues/93252

9 months agoAvoid membarrier on lower Android versions (#93096)
github-actions[bot] [Thu, 12 Oct 2023 00:11:02 +0000 (17:11 -0700)]
Avoid membarrier on lower Android versions (#93096)

Hopefully fixes #92196.

I don't actually have an ARM64 device with an old Android version so I can't testing it actually fixes the problem, but it's a plausible fix.

Co-authored-by: Michal Strehovský <MichalStrehovsky@users.noreply.github.com>
9 months agoHandle binding to initialized abstract members (#93120)
github-actions[bot] [Thu, 12 Oct 2023 00:06:30 +0000 (17:06 -0700)]
Handle binding to initialized abstract members (#93120)

If an abstract member is encountered in an object graph we should only
throw if it's not already initialized.

Co-authored-by: Eric StJohn <ericstj@microsoft.com>
9 months ago[release/8.0] Fix a memory leak in runtime interop stubs when using an array of struc...
github-actions[bot] [Thu, 12 Oct 2023 00:03:23 +0000 (17:03 -0700)]
[release/8.0] Fix a memory leak in runtime interop stubs when using an array of structs of types that use old-style managed marshalers (#93150)

* [release/6.0] Fix a memory leak in runtime interop stubs when using an array of structs of types that use old-style managed marshalers

* We already normalize null refs early, so we don't need to normalize here.

---------

Co-authored-by: Jeremy Koritzinsky <jekoritz@microsoft.com>
9 months ago[release/8.0] Fix Options Source Gen Trimming Issues (#93193)
github-actions[bot] [Thu, 12 Oct 2023 00:02:34 +0000 (17:02 -0700)]
[release/8.0] Fix Options Source Gen Trimming Issues (#93193)

* Fix Options Source Gen Trimming Issues

* Make Emitted Attribute Order Deterministic in Options Source Generator (#93260)

* Make Emitted Attribute Order Deterministic in Options Source Generator

* Use ordinal comparison when ordering the list

---------

Co-authored-by: Tarek Mahmoud Sayed <tarekms@microsoft.com>
9 months ago[release/8.0] Make a copy of assembly path. (#93253)
github-actions[bot] [Thu, 12 Oct 2023 00:01:03 +0000 (17:01 -0700)]
[release/8.0] Make a copy of assembly path. (#93253)

* Make a copy of assembly path.

* Use correct C++.

* Use copy ctor explicitly

---------

Co-authored-by: Aaron R Robinson <arobins@microsoft.com>
9 months agoMake thread pool thread timeouts configurable (#92986)
Koundinya Veluri [Wed, 11 Oct 2023 21:01:01 +0000 (14:01 -0700)]
Make thread pool thread timeouts configurable (#92986)

- Added two config options, one that configures the worker and wait thread timeouts, and another that enables keeping some number of worker threads alive after they are created
- This enables services that take periodic traffic to keep some worker threads around for better latency, while allowing extra threads to time out as appropriate for the service

9 months ago[release/8.0] Update dependencies from dnceng/internal/dotnet-optimization (#93112)
dotnet-maestro[bot] [Mon, 9 Oct 2023 16:53:38 +0000 (09:53 -0700)]
[release/8.0] Update dependencies from dnceng/internal/dotnet-optimization (#93112)

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20231005.5

optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.23504.3 -> To Version 1.0.0-prerelease.23505.5

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20231006.3

optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.23504.3 -> To Version 1.0.0-prerelease.23506.3

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20231007.6

optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.23504.3 -> To Version 1.0.0-prerelease.23507.6

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20231007.6

optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.23504.3 -> To Version 1.0.0-prerelease.23507.6

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
9 months ago[release/8.0] Resolve x64 libc++ being included with linux-arm64 to browser-wasm...
github-actions[bot] [Fri, 6 Oct 2023 19:06:13 +0000 (13:06 -0600)]
[release/8.0] Resolve x64 libc++ being included with linux-arm64 to browser-wasm cross-compiler (#93070)

* Try to resolve x64 libc++ being included with linux-arm64 to browser-wasm cross-compilers, due to incorrect assumption that the build architecture should be used for wasm cases. Closes: https://github.com/dotnet/runtime/issues/93015

* Still bad. Remove a condition.

---------

Co-authored-by: Jo Shields <joshield@microsoft.com>
Co-authored-by: Jo Shields <directhex@apebox.org>
9 months agoUpdate release/8.0-rc1 to release/8.0 in perf.yml. This will need to be backported...
github-actions[bot] [Fri, 6 Oct 2023 19:04:19 +0000 (13:04 -0600)]
Update release/8.0-rc1 to release/8.0 in perf.yml. This will need to be backported to the release/8.0 branch. (#93136)

Co-authored-by: Parker Bibus <parkerbibus@microsoft.com>
9 months ago[release/8.0] Manually update release/8.0 arcade to latest (#92778)
Larry Ewing [Fri, 6 Oct 2023 19:02:37 +0000 (14:02 -0500)]
[release/8.0] Manually update release/8.0 arcade to latest (#92778)

* Manually update release/8.0 arcade to latest

* Fix ILCompiler build

* Fix analyzer warning

* work around rid issues

* Move to Directory.Build.targets

And use the same condition as in main.

* Set RunAnalyzers to false for projects with no sources

* Fix Microsoft.NETCore.App.deps.json to include RID graph

---------

Co-authored-by: Sven Boemer <sbomer@gmail.com>
Co-authored-by: Marek Safar <marek.safar@gmail.com>
Co-authored-by: Elinor Fung <elfung@microsoft.com>
9 months agoUpdate dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimizati...
dotnet-maestro[bot] [Thu, 5 Oct 2023 15:59:36 +0000 (09:59 -0600)]
Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20231004.3 (#93065)

optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
 From Version 1.0.0-prerelease.23478.3 -> To Version 1.0.0-prerelease.23504.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>