platform/upstream/dotnet/runtime.git
2 years agoMerge in 'release/6.0' changes
dotnet-bot [Mon, 15 Aug 2022 19:53:41 +0000 (19:53 +0000)]
Merge in 'release/6.0' changes

2 years agoReset current_no_gc_region_info after leaving no gc region implicitly (#73602) (...
Andrew Au [Mon, 15 Aug 2022 19:38:35 +0000 (12:38 -0700)]
Reset current_no_gc_region_info after leaving no gc region implicitly (#73602) (#73806)

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Mon, 15 Aug 2022 17:38:25 +0000 (17:38 +0000)]
Merge in 'release/6.0' changes

2 years agoRework pack version update logic (#72147)
Larry Ewing [Mon, 15 Aug 2022 17:24:34 +0000 (12:24 -0500)]
Rework pack version update logic (#72147)

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Sun, 14 Aug 2022 01:12:08 +0000 (01:12 +0000)]
Merge in 'release/6.0' changes

2 years agoFix runtime pack aliasing (#73885)
Marc Paine [Sun, 14 Aug 2022 00:59:20 +0000 (17:59 -0700)]
Fix runtime pack aliasing (#73885)

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Sat, 13 Aug 2022 00:09:33 +0000 (00:09 +0000)]
Merge in 'release/6.0' changes

2 years agoAdd ManifestMsiVersion to CreateVisualStudioWorkload call (#73877)
Juan Hoyos [Fri, 12 Aug 2022 23:56:07 +0000 (16:56 -0700)]
Add ManifestMsiVersion to CreateVisualStudioWorkload call (#73877)

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 12 Aug 2022 22:03:56 +0000 (22:03 +0000)]
Merge in 'release/6.0' changes

2 years agoUpdate internal tool service connection (#73869)
Juan Hoyos [Fri, 12 Aug 2022 21:50:37 +0000 (14:50 -0700)]
Update internal tool service connection (#73869)

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 12 Aug 2022 20:26:46 +0000 (20:26 +0000)]
Merge in 'release/6.0' changes

2 years agoUpdate all of the net 6 packs to be labeled .net6 (#73733)
Marc Paine [Fri, 12 Aug 2022 20:14:02 +0000 (13:14 -0700)]
Update all of the net 6 packs to be labeled .net6 (#73733)

* Update all of the net 6 packs to be labeled .net6

* Mono.Toolchain.Manifest: Add missing aliases for browser-wasm

* Add missing aliases for other platforms

Co-authored-by: Ankit Jain <radical@gmail.com>
2 years agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 12 Aug 2022 19:49:59 +0000 (19:49 +0000)]
Merge in 'release/6.0' changes

2 years ago[release/6.0] Respect the Keep-Alive response header on HTTP/1.0 (#73245)
Miha Zupan [Fri, 12 Aug 2022 19:37:18 +0000 (21:37 +0200)]
[release/6.0] Respect the Keep-Alive response header on HTTP/1.0 (#73245)

* Respect the Keep-Alive response header on HTTP/1.0 (#73020)

* Respect the Keep-Alive response header on HTTP/1.0

* Remove TimeoutOffset

* Update Trace message

* Update tests

* Adjust test timeouts

* Respect the Keep-Alive response header on HTTP/1.1 as well

* Add some more comments

* Account for HeaderDescriptor changes in 7.0

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 12 Aug 2022 19:12:58 +0000 (19:12 +0000)]
Merge in 'release/6.0' changes

2 years agoFix hang caused by calling Environment.FailFast on multiple threads (#72567)
github-actions[bot] [Fri, 12 Aug 2022 18:58:50 +0000 (11:58 -0700)]
Fix hang caused by calling Environment.FailFast on multiple threads (#72567)

Fixes #72565

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
2 years agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 12 Aug 2022 17:09:41 +0000 (17:09 +0000)]
Merge in 'release/6.0' changes

2 years agoUpdate to arcade SDK '6.0.0-beta.22411.3' BAR 144406 (#73841)
Juan Hoyos [Fri, 12 Aug 2022 16:55:38 +0000 (09:55 -0700)]
Update to arcade SDK '6.0.0-beta.22411.3' BAR 144406 (#73841)

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 12 Aug 2022 06:37:52 +0000 (06:37 +0000)]
Merge in 'release/6.0' changes

2 years agoWorkload promotion (#73798)
Jacques Eloff [Fri, 12 Aug 2022 06:22:31 +0000 (23:22 -0700)]
Workload promotion (#73798)

* Fix duplicate artifacts for workloads
* Consolidate publishing for VS

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 12 Aug 2022 01:47:17 +0000 (01:47 +0000)]
Merge in 'release/6.0' changes

2 years agoRemove 1024 character limit on ODBC connection strings (#73155)
Shay Rojansky [Fri, 12 Aug 2022 01:32:32 +0000 (04:32 +0300)]
Remove 1024 character limit on ODBC connection strings (#73155)

Fixes #63630

(cherry picked from commit 8eb5dea6763da89fb9a4fdd4df0942f195716b59)

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 11 Aug 2022 21:02:27 +0000 (21:02 +0000)]
Merge in 'release/6.0' changes

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 11 Aug 2022 20:48:02 +0000 (20:48 +0000)]
Merge in 'release/6.0' changes

2 years ago[release/6.0] Fix #70391 (#73654)
Bruce Forstall [Thu, 11 Aug 2022 20:45:37 +0000 (13:45 -0700)]
[release/6.0] Fix #70391 (#73654)

Fix issue with multiple LEA addresses used for Vector code. Value
Numbering treated multiple LEA identically, ignoring offset and
scale. Fix by creating a new, unique Value Number for all LEA, by
marking LEA nodes as "illegal" as a VNFunc.

Fixed in .NET 7 with #69992. This is a conservative, smaller
fix for .NET 6.

No SPMI asm diffs.

Verified with this repro (fail before, pass afterwards) from #64375:
```
using System;
using System.Numerics;
using System.Runtime.CompilerServices;

internal class Program
{
    [MethodImpl(MethodImplOptions.AggressiveOptimization)]
    public static void Main()
    {
        Matrix4x4 id = Matrix4x4.Identity;

        Action a = () => { var _ = id; };

        Console.WriteLine(
            Vector3.Cross(
                new Vector3(id.M11, id.M12, id.M13),
                new Vector3(id.M21, id.M22, id.M23)).Z);
    }
}
```
(pass means prints `1`)

Fixes #70391

2 years ago[release/6.0] Backport edge case fixes to XxHash32/XxHash64 (#73203)
github-actions[bot] [Thu, 11 Aug 2022 20:44:04 +0000 (13:44 -0700)]
[release/6.0] Backport edge case fixes to XxHash32/XxHash64 (#73203)

* Fix incremental XxHash32/XxHash64 (#69185)

* Fix xxHash64 handling of large (> 4GB) inputs (#73093)

* Bump package servicing version

Co-authored-by: froce <fwesen2@gmail.com>
Co-authored-by: Levi Broderick <GrabYourPitchforks@users.noreply.github.com>
Co-authored-by: Levi Broderick <levib@microsoft.com>
2 years agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 11 Aug 2022 20:38:23 +0000 (20:38 +0000)]
Merge in 'release/6.0' changes

2 years agofixed distroRid having the last version digit for alpine (#62942) (#70903)
Omair Majid [Thu, 11 Aug 2022 20:33:36 +0000 (16:33 -0400)]
fixed distroRid having the last version digit for alpine (#62942) (#70903)

Co-authored-by: Antoine Martin <dev@ayakael.net>
2 years agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 11 Aug 2022 20:30:43 +0000 (20:30 +0000)]
Merge in 'release/6.0' changes

2 years ago[release/6.0] JIT: Avoid removing multi-use boxes (#73014)
github-actions[bot] [Thu, 11 Aug 2022 20:28:08 +0000 (13:28 -0700)]
[release/6.0] JIT: Avoid removing multi-use boxes (#73014)

* JIT: Avoid removing multi-use boxes

There was an assumption that the local operand to a GT_BOX node is
single-use which was being violated when GDV clones these as arguments.
We now allow multi-uses of these locals by setting a flag when cloning
and then handle it in gtTryRemoveBoxUpstreamEffects.

There is also GTF_VAR_CLONED that would be set on the local itself, but
given that transformations can affect the operand local node arbitrarily
I went with another of these type of flags on GT_BOX instead.

Fix #72775

* Add a test

* Test nit

Co-authored-by: Jakob Botsch Nielsen <jakob.botsch.nielsen@gmail.com>
2 years agoBackport 58806 (#73010)
Thays Grazia [Thu, 11 Aug 2022 20:26:43 +0000 (17:26 -0300)]
Backport 58806 (#73010)

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 11 Aug 2022 20:24:54 +0000 (20:24 +0000)]
Merge in 'release/6.0' changes

2 years agoCreateSymbolicLink PInvoke retval must be marshalled as U1 (#69150) (#73004)
David Cantú [Thu, 11 Aug 2022 20:24:54 +0000 (15:24 -0500)]
CreateSymbolicLink PInvoke retval must be marshalled as U1 (#69150) (#73004)

* CreateSymbolicLink PInvoke retval must be marshalled as U1

* Fix redundant invocations of Environment.OSVersion.Version

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 11 Aug 2022 20:19:33 +0000 (20:19 +0000)]
Merge in 'release/6.0' changes

2 years agoInclude EventLog.Messages in WindowsDesktop pack (#72809)
Viktor Hofer [Thu, 11 Aug 2022 20:17:46 +0000 (22:17 +0200)]
Include EventLog.Messages in WindowsDesktop pack (#72809)

Backport of https://github.com/dotnet/runtime/pull/72280

The System.Diagnostics.EventLog.Messages assembly is missing from the WindowsDesktop transport package. Adding it to the package and also making sure that it gets the right assembly version in servicing by adding it to the NetCoreAppLibrary.props file.

I verified that the assembly is now part of the package.

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 11 Aug 2022 20:11:36 +0000 (20:11 +0000)]
Merge in 'release/6.0' changes

2 years ago[release/6.0] Support zero-byte reads on raw response streams in SocketsHttpHandler...
Miha Zupan [Thu, 11 Aug 2022 20:10:25 +0000 (22:10 +0200)]
[release/6.0] Support zero-byte reads on raw response streams in SocketsHttpHandler (#72804)

* Allow zero byte reads on raw HTTP/1.1 response streams

* Add test

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 11 Aug 2022 20:03:51 +0000 (20:03 +0000)]
Merge in 'release/6.0' changes

2 years ago[release/6.0] [mono][jit] Fix an infinite loop in the abcrem pass. (#72504)
github-actions[bot] [Thu, 11 Aug 2022 20:00:55 +0000 (13:00 -0700)]
[release/6.0] [mono][jit] Fix an infinite loop in the abcrem pass. (#72504)

* [mono][jit] Fix an infinite loop in the abcrem pass.

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

* Add a test.

* Fix pri1 test build

* Fix the test.

* Update src/tests/JIT/Regression/JitBlue/Runtime_71592/test71592.csproj

Co-authored-by: Aleksey Kliger (λgeek) <aleksey@lambdageek.org>
Co-authored-by: Zoltan Varga <vargaz@gmail.com>
Co-authored-by: Jakob Botsch Nielsen <jakob.botsch.nielsen@gmail.com>
Co-authored-by: Aleksey Kliger (λgeek) <aleksey@lambdageek.org>
2 years agoAzure ML Watson bucketing for Linux coredumps is broken because the ELF unwind isn...
Mike McLaughlin [Thu, 11 Aug 2022 19:55:48 +0000 (12:55 -0700)]
Azure ML Watson bucketing for Linux coredumps is broken because the ELF unwind isn't fully present. Everything evens up in one big bucket. (#72417)

Properly calculate the ELF unwind info section size

Uses the same method that windbg does to calculate the eh_frame section size by partial decoding the FDE/CIE's enough to figure out the total size. We can't use the .eh_frame section because ELF module sections are not in-memory.

Change the ReadMemoryAdapter passed to the new PAL_GetUnwindInfoSize function to read memory directly and not add it to the memory region list

Local testing. More TBD.

Low risk. Affects only createdump.

2 years ago[release/6.0] [Android] Port getifaddrs implementation from Xamarin.Android (#72097)
github-actions[bot] [Thu, 11 Aug 2022 19:48:52 +0000 (12:48 -0700)]
[release/6.0] [Android] Port getifaddrs implementation from Xamarin.Android (#72097)

* Port getifaddrs implementation from monodroid

* Fix usage of TARGET_ANDROID

* Disable debug logs by default

* Fix checking for debug

* Fix build error related to __VA_ARGS__

* Fix automatic backport

Co-authored-by: Simon Rozsival <simon@rozsival.com>
2 years agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 11 Aug 2022 17:59:05 +0000 (17:59 +0000)]
Merge in 'release/6.0' changes

2 years agoRe-create profile data on profile-use-only mode (#71754)
ws77.cho [Thu, 11 Aug 2022 17:53:57 +0000 (02:53 +0900)]
Re-create profile data on profile-use-only mode (#71754)

Activate multicorejit recorder to re-create the profile data
when the multicorejit player cannot be executed due to BADIMAGEFORMAT error on profile-use-only mode

2 years ago[mono] Ensure exception_message points to a string (#72002)
github-actions[bot] [Thu, 11 Aug 2022 17:52:06 +0000 (10:52 -0700)]
[mono] Ensure exception_message points to a string (#72002)

Co-authored-by: Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
2 years ago[release/6.0] Work around for UriFormatException caused by \\?\ prefix in the path...
github-actions[bot] [Thu, 11 Aug 2022 17:49:33 +0000 (10:49 -0700)]
[release/6.0] Work around for UriFormatException caused by \\?\ prefix in the path (#71452)

* Work around for UriFormatException caused by \?\ prefix in the path

* Apply feedback

* Move try catch

* Fix ConfigurationManager when BaseDirectory starts with \\?" (#58627)

* Add servicing version to the project

Co-authored-by: Buyaa Namnan <bunamnan@microsoft.com>
Co-authored-by: Krzysztof Wicher <kwicher@microsoft.com>
2 years agoConsole.Unix: fix missing terminal configuration on SIGINT/SIGQUIT/SIGCONT. (#64985)
github-actions[bot] [Thu, 11 Aug 2022 17:45:50 +0000 (10:45 -0700)]
Console.Unix: fix missing terminal configuration on SIGINT/SIGQUIT/SIGCONT. (#64985)

The introduction of the managed API for signal handling (PosixSignal)
inadvertently caused terminal configuration to no longer be performed
when no managed handlers are registered.

This adds back the unconditional registration for SIGINT/SIGQUIT/SIGCONT.

The missing registrations can cause the terminal to stop echoing when an
application terminates on Ctrl-C.

Co-authored-by: Tom Deseyn <tom.deseyn@gmail.com>
2 years agoMerge in 'release/6.0' changes
dotnet-bot [Tue, 9 Aug 2022 22:37:09 +0000 (22:37 +0000)]
Merge in 'release/6.0' changes

2 years agoMerge pull request #73640 from vseanreesermsft/internal-merge-6.0-2022-08-09-1111
Carlos Sanchez [Tue, 9 Aug 2022 22:23:03 +0000 (15:23 -0700)]
Merge pull request #73640 from vseanreesermsft/internal-merge-6.0-2022-08-09-1111

Merging internal commits for release/6.0

2 years agoMerge commit '55fb7ef977e7d120dc12f0960edcff0739d7ee0e' into internal-merge-6.0-2022...
Sean Reeser [Tue, 9 Aug 2022 18:11:43 +0000 (11:11 -0700)]
Merge commit '55fb7ef977e7d120dc12f0960edcff0739d7ee0e' into internal-merge-6.0-2022-08-09-1111

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Mon, 8 Aug 2022 15:55:09 +0000 (15:55 +0000)]
Merge in 'release/6.0' changes

2 years agoFix aka.ms links in build promotion for VSDROP (#73483)
Jacques Eloff [Mon, 8 Aug 2022 15:42:49 +0000 (08:42 -0700)]
Fix aka.ms links in build promotion for VSDROP (#73483)

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 5 Aug 2022 12:40:58 +0000 (12:40 +0000)]
Merge in 'release/6.0' changes

2 years ago[release/6.0][mono] add 400 band workloads (#72379)
Larry Ewing [Fri, 5 Aug 2022 12:27:08 +0000 (07:27 -0500)]
[release/6.0][mono] add 400 band workloads (#72379)

This is to work around the broken sdk workload band install logic that has since been fixed.

Co-authored-by: Ankit Jain <radical@gmail.com>
Co-authored-by: Steve Pfister <steve.pfister@microsoft.com>
2 years agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 5 Aug 2022 01:15:12 +0000 (01:15 +0000)]
Merge in 'release/6.0' changes

2 years agoUpdate Arcade + Workloads (#72947)
Jacques Eloff [Fri, 5 Aug 2022 01:02:17 +0000 (18:02 -0700)]
Update Arcade + Workloads (#72947)

Update Arcade and the workloads project to leverage the new build tasks.

This also fixes the publishing issues we previously saw in the blob artifacts because of duplicate files. Instead, we'll create unique zip files per SDK featurebands for the workloads that will be used for creating the VSDROPs in dotnet-stage.

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Wed, 3 Aug 2022 08:13:58 +0000 (08:13 +0000)]
Merge in 'release/6.0' changes

2 years agoUpdate branding to 6.0.9 (#73270)
vseanreesermsft [Wed, 3 Aug 2022 08:01:27 +0000 (01:01 -0700)]
Update branding to 6.0.9 (#73270)

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Wed, 27 Jul 2022 21:15:53 +0000 (21:15 +0000)]
Merge in 'release/6.0' changes

2 years agoUpdate windows.10.amd64.server20h2 to windows.amd64.server2022 (#72868)
Matt Galbraith [Wed, 27 Jul 2022 20:58:35 +0000 (13:58 -0700)]
Update windows.10.amd64.server20h2 to windows.amd64.server2022 (#72868)

* Update windows.10.amd64.server20h2 to windows.amd64.server2022, as 20H2 is end-of-life this month

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Wed, 13 Jul 2022 16:56:12 +0000 (16:56 +0000)]
Merge in 'release/6.0' changes

2 years agoFix building with clang 14 (#69990)
Omair Majid [Wed, 13 Jul 2022 16:40:52 +0000 (11:40 -0500)]
Fix building with clang 14 (#69990)

Under clang 14, building runtime on Linux with a simple ./build.sh
fails with hundreds of errors that all look like this:

    runtime/src/libraries/Native/Unix/System.Native/pal_networking.c(2610,9):
    error GD58BE485: mixing declarations and code is incompatible with
    standards before C99 [-Wdeclaration-after-statement]
    [runtime/src/libraries/Native/build-native.proj]

This issue is not present in the main branch. It appears to have been
fixed by https://github.com/dotnet/runtime/pull/66410/ which turned off
that warning.

Tested with:

    $ clang --version
    clang version 14.0.0 (Fedora 14.0.0-1.fc36)
    Target: x86_64-redhat-linux-gnu
    Thread model: posix
    InstalledDir: /usr/bin

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Wed, 13 Jul 2022 01:06:28 +0000 (01:06 +0000)]
Merge in 'release/6.0' changes

2 years ago[release/6.0] Fixing the handling of Positive NaN in Math.Min for float/double (...
Tanner Gooding [Wed, 13 Jul 2022 00:53:11 +0000 (17:53 -0700)]
[release/6.0] Fixing the handling of Positive NaN in Math.Min for float/double (#70865)

* Fixing the handling of Positive NaN in Math.Min for float/double (#70795)

* Adding tests validating Positive NaN for Max, MaxMagnitude, Min, and MinMagnitude

* Fixing the handling of Positive NaN in Math.Min for float/double

* Fixing the Max/Min code comments to use greater and lesser

* Adding a code comment clarifying the sign toggling behavior

* Apply suggestions from code review

Co-authored-by: Jonathan Giannuzzi <jgiannuzzi@users.noreply.github.com>
* Apply suggestions from code review

Co-authored-by: Jonathan Giannuzzi <jgiannuzzi@users.noreply.github.com>
2 years agoFix RSA OAEP decryption in Android with non-power-of-two key lengths (#71696)
Kevin Jones [Wed, 13 Jul 2022 00:52:56 +0000 (20:52 -0400)]
Fix RSA OAEP decryption in Android with non-power-of-two key lengths (#71696)

2 years agocreatedump improvements for better VS4Mac Watson bucketing (#71863)
Mike McLaughlin [Wed, 13 Jul 2022 00:52:26 +0000 (17:52 -0700)]
createdump improvements for better VS4Mac Watson bucketing (#71863)

* Createdump changes for VS4Mac

Add target process terminated/alive message.

Smaller MacOS dumps. Don't add share_mode == SM_EMPTY regions.

Add crashreport success status message for VS4Mac.

Launch createdump from SIGTERM handler directly to reduce the time it takes to get the crash report/dump for VS4Mac.

* Add more instrumentation to diagnose SIGTERM problem

* Remove useless thread state logging

2 years agoForbid XML external entity resolution in crypto APIs
Jeremy Barton [Tue, 12 Jul 2022 21:44:03 +0000 (21:44 +0000)]
Forbid XML external entity resolution in crypto APIs

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Tue, 12 Jul 2022 19:44:06 +0000 (19:44 +0000)]
Merge in 'release/6.0' changes

2 years agoMerge pull request #72040 from wtgodbe/internal-merge-6.0-2022-07-12-1057
Carlos Sanchez [Tue, 12 Jul 2022 19:28:11 +0000 (12:28 -0700)]
Merge pull request #72040 from wtgodbe/internal-merge-6.0-2022-07-12-1057

Merging internal commits for release/6.0

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Tue, 12 Jul 2022 18:06:59 +0000 (18:06 +0000)]
Merge in 'release/6.0' changes

2 years ago[release/6.0] [iOS][Android] Fix crash in Exception.CaptureDispatchState (#71171)
github-actions[bot] [Tue, 12 Jul 2022 17:59:31 +0000 (12:59 -0500)]
[release/6.0] [iOS][Android] Fix crash in Exception.CaptureDispatchState (#71171)

* [iOS][Android] Fix crash in Exception.CaptureDispatchState

There is a crash in `Exception.CaptureDispatchState` when called from one thread at the same time another calls into `Exception.RestoreDispatchState`. The
reason for the crash is due to the way we do not update `foreignExceptionFrames` in a thread-safe way.  `foreignExceptionFrames` is used in both methods and can crash when the size changes before the array is copied.

The fix is to lock when reading from and writing to `foreignExceptionFrames`.

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

* Lock all of CaptureDispatchState

* Marek's feedback

* Remove unnecessary field

Co-authored-by: Steve Pfister <steve.pfister@microsoft.com>
2 years agoMerge commit '0ec02c8c96e2eda06dc5b5edfdbdba0f36415082' into internal-merge-6.0-2022...
Will Godbe [Tue, 12 Jul 2022 17:57:41 +0000 (10:57 -0700)]
Merge commit '0ec02c8c96e2eda06dc5b5edfdbdba0f36415082' into internal-merge-6.0-2022-07-12-1057

2 years ago[mono] Avoid calling mono_metadata_type_hash () on the container class in mono_generi...
github-actions[bot] [Tue, 12 Jul 2022 17:55:23 +0000 (12:55 -0500)]
[mono] Avoid calling mono_metadata_type_hash () on the container class in mono_generic_class_hash (). (#71764)

If a class inherits from a generic instance instantiated with itself, then its possible
for mono_generic_class_hash () to be called while the container class is not fully
initialized yet, i.e. byval_arg.type is 0. This would cause the generic class to change
its hash.

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

Co-authored-by: Zoltan Varga <vargaz@gmail.com>
2 years agoBackport 71436 (#71731)
Thays Grazia [Tue, 12 Jul 2022 17:55:10 +0000 (14:55 -0300)]
Backport 71436 (#71731)

2 years agoformat correctly chuncked response with Content-Length header (#69016) (#70744)
Miha Zupan [Tue, 12 Jul 2022 17:52:18 +0000 (10:52 -0700)]
format correctly chuncked response with Content-Length header (#69016) (#70744)

Co-authored-by: Badre BSAILA <54767641+pedrobsaila@users.noreply.github.com>
2 years agoMerge in 'release/6.0' changes
dotnet-bot [Thu, 7 Jul 2022 18:42:33 +0000 (18:42 +0000)]
Merge in 'release/6.0' changes

2 years agoRemove GeneratePackageOnBuild missed on branding PR (#71743)
Carlos Sanchez [Thu, 7 Jul 2022 18:26:33 +0000 (11:26 -0700)]
Remove GeneratePackageOnBuild missed on branding PR (#71743)

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Wed, 6 Jul 2022 14:44:32 +0000 (14:44 +0000)]
Merge in 'release/6.0' changes

2 years agoUpdate branding to 6.0.8 (#71668)
Matt Mitchell [Wed, 6 Jul 2022 14:30:11 +0000 (07:30 -0700)]
Update branding to 6.0.8 (#71668)

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Wed, 22 Jun 2022 10:04:31 +0000 (10:04 +0000)]
Merge in 'release/6.0' changes

2 years agoRevert Arcade update & Workload Manifest change (#71110)
William Godbe [Wed, 22 Jun 2022 09:50:04 +0000 (02:50 -0700)]
Revert Arcade update & Workload Manifest change (#71110)

* Revert "[release/6.0] Update dependencies from dotnet/arcade dotnet/llvm-project (#68871)"

This reverts commit 3e0c89b69f70690579d2f1c0a04577a674ef1cf6.

* Revert "Update workloads with Arcade improvements (#71046)"

This reverts commit cd19e8bf35d18cef6f30d896313cbeb1be2a06dd.

* Update global.json

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Tue, 21 Jun 2022 18:11:12 +0000 (18:11 +0000)]
Merge in 'release/6.0' changes

2 years agoUpdate workloads with Arcade improvements (#71046)
Jacques Eloff [Tue, 21 Jun 2022 17:56:18 +0000 (10:56 -0700)]
Update workloads with Arcade improvements (#71046)

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Mon, 20 Jun 2022 16:07:23 +0000 (16:07 +0000)]
Merge in 'release/6.0' changes

2 years ago[tests] Extend partial disablement of SkippingHiddenFiles (#65280) (#70763)
Dan Moseley [Mon, 20 Jun 2022 15:52:06 +0000 (09:52 -0600)]
[tests] Extend partial disablement of SkippingHiddenFiles (#65280) (#70763)

Co-authored-by: Mitchell Hwang <16830051+mdh1418@users.noreply.github.com>
2 years agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 17 Jun 2022 01:26:50 +0000 (01:26 +0000)]
Merge in 'release/6.0' changes

2 years ago[release/6.0] Update dependencies from dotnet/arcade dotnet/llvm-project (#68871)
dotnet-maestro[bot] [Fri, 17 Jun 2022 01:11:42 +0000 (18:11 -0700)]
[release/6.0] Update dependencies from dotnet/arcade dotnet/llvm-project (#68871)

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

Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.GenAPI , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.GenFacades , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk
 From Version 2.5.1-beta.22161.1 -> To Version 2.5.1-beta.22254.3

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

Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.GenAPI , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.GenFacades , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk
 From Version 2.5.1-beta.22161.1 -> To Version 2.5.1-beta.22261.7

* Update dependencies from https://github.com/dotnet/llvm-project build 20220513.3

runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.osx.10.12-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.osx.10.12-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , 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 11.1.0-alpha.1.21416.1 -> To Version 11.1.0-alpha.1.22263.3

* Update dependencies from https://github.com/dotnet/arcade build 20220614.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.Sdk , 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 6.0.0-beta.22161.1 -> To Version 6.0.0-beta.22314.7

* Use VS preview pools for Windows build jobs, and remove Windows version number from queue name

* Revert "Use VS preview pools for Windows build jobs, and remove Windows version number from queue name"

This reverts commit 5478426a751b299afd19f81e15abf033f699d76c.

* Update dependencies from https://github.com/dotnet/llvm-project build 20220616.1

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 , runtime.osx.10.12-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.osx.10.12-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools
 From Version 11.1.0-alpha.1.21416.1 -> To Version 11.1.0-alpha.1.22316.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: carlossanlop <1175054+carlossanlop@users.noreply.github.com>
2 years agoMerge in 'release/6.0' changes
dotnet-bot [Wed, 15 Jun 2022 02:58:58 +0000 (02:58 +0000)]
Merge in 'release/6.0' changes

2 years agoFix Assembly.LoadFrom resolver (#70537)
github-actions[bot] [Wed, 15 Jun 2022 02:45:48 +0000 (20:45 -0600)]
Fix Assembly.LoadFrom resolver (#70537)

Path.GetFullPath fails on empty path. Check for empty requestor path earlier.

Fixes #67802

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
2 years agoMerge in 'release/6.0' changes
dotnet-bot [Tue, 14 Jun 2022 18:29:22 +0000 (18:29 +0000)]
Merge in 'release/6.0' changes

2 years agoMerge pull request #70741 from vseanreesermsft/internal-merge-6.0-2022-06-14-1031
Matt Mitchell [Tue, 14 Jun 2022 18:06:49 +0000 (11:06 -0700)]
Merge pull request #70741 from vseanreesermsft/internal-merge-6.0-2022-06-14-1031

Merging internal commits for release/6.0

2 years agoMerge commit '7cca709db2944a09b4db6ca7b20c457ff260fb5a' into internal-merge-6.0-2022...
Sean Reeser [Tue, 14 Jun 2022 17:31:57 +0000 (10:31 -0700)]
Merge commit '7cca709db2944a09b4db6ca7b20c457ff260fb5a' into internal-merge-6.0-2022-06-14-1031

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Tue, 14 Jun 2022 04:38:51 +0000 (04:38 +0000)]
Merge in 'release/6.0' changes

2 years agoAdd Fedora 37 RID (#65392)
Omair Majid [Tue, 14 Jun 2022 04:18:36 +0000 (00:18 -0400)]
Add Fedora 37 RID (#65392)

Fedora 37 has now started development, and the distribution now
identifies itself as Fedora 37 instead of Fedora 36:
https://fedorapeople.org/groups/schedule/f-37/f-37-key-tasks.html

Co-authored-by: Carlos Sanchez <1175054+carlossanlop@users.noreply.github.com>
2 years agoMerge in 'release/6.0' changes
dotnet-bot [Tue, 14 Jun 2022 03:06:36 +0000 (03:06 +0000)]
Merge in 'release/6.0' changes

2 years agoFix async handle leak when sync RandomAccess read/write on async handle fails (#69956...
Stephen Toub [Tue, 14 Jun 2022 02:51:11 +0000 (22:51 -0400)]
Fix async handle leak when sync RandomAccess read/write on async handle fails (#69956) (#70591)

* Fix async handle leak when sync RandomAccess read/write on async handle fails

* Use UnsafeAllocateNativeOverlapped in GetNativeOverlappedForAsyncHandle

This isn't invoking user code and it's entirely for synchronous operations; there's no reason it needs to capture ExecutionContext.

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Mon, 13 Jun 2022 18:27:08 +0000 (18:27 +0000)]
Merge in 'release/6.0' changes

2 years agoDo not add x86 host to PATH on 64-bit machines (#70299)
github-actions[bot] [Mon, 13 Jun 2022 18:11:09 +0000 (11:11 -0700)]
Do not add x86 host to PATH on 64-bit machines (#70299)

Co-authored-by: Nikola Milosavljevic <nikolam@microsoft.com>
2 years agoMerge in 'release/6.0' changes
dotnet-bot [Sat, 11 Jun 2022 02:49:07 +0000 (02:49 +0000)]
Merge in 'release/6.0' changes

2 years ago[6.0] Modify thread pool thread counting to be a bit more defensive (#70479)
Koundinya Veluri [Sat, 11 Jun 2022 02:33:24 +0000 (19:33 -0700)]
[6.0] Modify thread pool thread counting to be a bit more defensive (#70479)

* [6.0] Modify thread pool thread counting to be a bit more defensive

- Port of https://github.com/dotnet/runtime/pull/70478 to 6.0
- An unexpected underflow in one or more thread counts can lead to a large number of threads to be created continually
- Prevented underflows in changes to thread counts, such that following an unexpected underflow, subsequent paired increments and decrements would avoid repeating the underflow
- Verified by creating an unexpected underflow in the debugger

* Address feedback

2 years agoMerge in 'release/6.0' changes
dotnet-bot [Fri, 10 Jun 2022 23:35:19 +0000 (23:35 +0000)]
Merge in 'release/6.0' changes