Age | Commit message (Collapse) | Author |
|
* Throw on incompatible WebSocket options
* Don't set ServerCertificateCustomValidationCallback on Browser
* Update exception messages
* Skip new H2 test on Browser
Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
|
|
port. (#75003)
Co-authored-by: Jo Shields <directhex@apebox.org>
|
|
The change has a bad interaction with inlining heuristics.
Fixes #74158. Partial revert of #67448.
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
|
|
dotnet/runtime-assets dotnet/hotreload-utils dotnet/roslyn-analyzers (#74922)
* Update dependencies from https://github.com/dotnet/llvm-project build 20220831.4
runtime.linux-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.linux-musl-x64.Microsoft.NETCore.Runtime.ObjWriter , runtime.linux-x64.Microsoft.NETCore.Runtime.ObjWriter , runtime.osx.11.0-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.osx.10.12-x64.Microsoft.NETCore.Runtime.ObjWriter , runtime.win-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.win-x64.Microsoft.NETCore.Runtime.ObjWriter
From Version 1.0.0-alpha.1.22426.3 -> To Version 1.0.0-alpha.1.22431.4
* Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20220831.2
Microsoft.CodeAnalysis.NetAnalyzers
From Version 7.0.0-preview1.22429.1 -> To Version 7.0.0-preview1.22431.2
* Update dependencies from https://github.com/dotnet/llvm-project build 20220901.2
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.22429.2 -> To Version 11.1.0-alpha.1.22451.2
* Update dependencies from https://github.com/dotnet/runtime-assets build 20220901.1
Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 7.0.0-beta.22430.1 -> To Version 7.0.0-beta.22451.1
* Update dependencies from https://github.com/dotnet/hotreload-utils build 20220901.2
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 1.1.0-alpha.0.22422.2 -> To Version 1.1.0-alpha.0.22451.2
* Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20220901.2
Microsoft.CodeAnalysis.NetAnalyzers
From Version 7.0.0-preview1.22429.1 -> To Version 7.0.0-preview1.22451.2
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
|
|
Microsoft.NETCore.Runtime.ICU.Transport
From Version 7.0.0-rc.1.22419.2 -> To Version 7.0.0-rc.2.22451.2
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
|
|
* [RateLimiting] TryReplenish handles multiple replenish periods at a time
* ignore tick on auto
* fixup
* partial
* allow TimeSpan.Zero
* no special case
* TimeSpan.Zero
* Apply suggestions from code review
Co-authored-by: Stephen Halter <halter73@gmail.com>
Co-authored-by: Brennan Conroy <brecon@microsoft.com>
Co-authored-by: Stephen Halter <halter73@gmail.com>
|
|
On other target platforms than windows.
This fixes https://github.com/dotnet/runtime/issues/74506
The reason to make it non-trimmable is that it uses COM interop
on windows. So we can make it trimmable again on other target platforms.
https://github.com/dotnet/runtime/issues/74506#issuecomment-1231917923
Co-authored-by: Radek Doulik <radekdoulik@gmail.com>
|
|
operands are not integral types (#75016)
* IsValidCompareChain should return 'false' if both operands are not integral types
* Add integral type checks in ContainCheckCompareChain
* Check if op is CMP or AND
* feedback
Co-authored-by: Will Smith <lol.tihan@gmail.com>
|
|
scanning. (#74894)
* The problem here is that during GCScan::GcWeakPtrScan, we call GCHeap::IsPromoted so we can zero out object pointers to objects that weren't marked. At the same time, one thread may do the same for the sync block table. When the first kind of threads validate the object, they also validate the sync block entry that may have already been zeroed - this causes an assert failure. I don't think there is any bad effect apart from the assert failure though.
The fix is to simply call Object::Validate with a bVerifySyncBlock of FALSE if the object hasn't been marked.
* Overlooked the fact that there is yet another declaration of CObjectHeader::Validate with just one parameter that is used in Native AOT and the standalone GC.
Fix is simply to declare, but ignore the extra parameters.
Co-authored-by: Peter Sollich <petersol@microsoft.com>
|
|
UniversalTransition (#74958)
* Save full ARM64 SIMD arg registers in UniversalTransition
* remove unused SAVE/RESTORE argument macros
Co-authored-by: vsadov <8218165+VSadov@users.noreply.github.com>
|
|
Co-authored-by: Anton Lapounov <antonl@microsoft.com>
|
|
unused element of op1 and op2 (#74980)
* Ensure that the SSE fallback for Vector3.Dot masks off the unused element of op1 and op2
* Applying formatting patch
* Ensure we use TYP_SIMD16 in for the simdType when generating the fallback Dot nodes
Co-authored-by: Tanner Gooding <tagoo@outlook.com>
|
|
set (#74939)
* Disallow TarWriter from writing link entries without LinkName set
* Tests
* Docs
* Apply suggestions from code review
Co-authored-by: David Cantú <dacantu@microsoft.com>
* Apply suggestions from code review
Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
Co-authored-by: Carlos Sanchez <1175054+carlossanlop@users.noreply.github.com>
Co-authored-by: David Cantú <dacantu@microsoft.com>
|
|
* Throw ArgumentException on unsupported tar entry type
* Adjust tests
* Also change exception type for internal TarEntry conversion constructor called by all other public conversion constructors. Add missing test gap.
* LinkName setter null check.
* Internal constructors SeekableSubReadStream and SubReadStream unseekable exception should be ArgumentException.
* DataStream setter for regular file should throw ArgumentException if passed an unreadable stream.
* TarFile CreateFromDirectory unwritable destination change exception to ArgumentException.
* Change to ArgumentException when ExtractToDirectory is an unreadable stream. Add missing exception docs.
* Add some missing exception docs for TarEntry.
* Change TarReader constructor exception if unreadable stream. Close test gap.
* Change TarWriter exception for unwritable stream to ArgumentException, adjust docs and tests.
* Add missing documentation for exceptions in constructors.
* Change wording of conversion constructors comment when passing a Pax GEA entry.
* Apply suggestions by Jozkee
* Add exception to LinkName if the entry type is hard/symlink and the user tries to set an empty string. Add tests.
* Convert all FormatException to InvalidDataException
* Address more suggestions
Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
|
|
|
|
* Only attempt to use ESRP connection in approved branches
* Update sign-diagnostic-files.yml
Add main
|
|
* JSExport on struct and records.
* Feedback.
* Namespace variants.
* Rewrite reading class name and namespace name.
* Use expression bodies in test.
* Double nested classes.
* Fix JSExport for expression bodied methods.
* Refactoring GetQualifiedName using mostly formatting from roslyn.
* Drop extra blank lines.
* Simplify name format.
* Feedback.
Co-authored-by: Marek Fišera <mara@neptuo.com>
|
|
* Fix use of uninitialized memory for Vector3 constants
* Formatting
* Update src/coreclr/jit/codegenarm64.cpp
Co-authored-by: Jakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>
* Apply the same fix for x64
* PR feedback
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Co-authored-by: Jakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>
|
|
Co-authored-by: Alex Perovich <alperovi@microsoft.com>
|
|
* Disable nullability warnings in JSON source generator
* Add testcase for #61734
Co-authored-by: Krzysztof Wicher <kwicher@microsoft.com>
|
|
dotnet/runtime-assets dotnet/roslyn-analyzers (#74808)
* Update dependencies from https://github.com/dotnet/llvm-project build 20220829.2
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.22425.1 -> To Version 11.1.0-alpha.1.22429.2
* Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20220829.1
Microsoft.CodeAnalysis.NetAnalyzers
From Version 7.0.0-preview1.22426.2 -> To Version 7.0.0-preview1.22429.1
* Update dependencies from https://github.com/dotnet/runtime-assets build 20220830.1
Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 7.0.0-beta.22422.1 -> To Version 7.0.0-beta.22430.1
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
|
|
(#74881)
* Determine any memory/CPU limitations from sysfs cgroup (#21280)
Add capability to interrogate cgroup limitations when determining CP and memory limits
This code has been adapted from coreCLR. It has been modified from C++ but uses the same naming conventions in the event of a unified mechanism that can be shared between both runtimes being developed. The code has been tested on Ubuntu 20.04 and CentOS 7 with cgroupv1 and cgroupv2.
This code is required in the event of running runtime in a container as the current limitations being discovered by the mono runtime are purely for the machine and not in a container which may have lower quotas.
* src/mono/CMakeLists.txt
- Set the HAVE_CGROUP_SUPPORT for Linux hosts
* src/mono/cmake/config.h.in
- Place holder for HAVE_CGROU_SUPPORT definition
* src/mono/mono/metadata/icall.c
* src/mono/mono/sgen/sgen-marksweep.c
* src/mono/mono/sgen/sgen-simple-nursery.c
- Use mono_cpu_limit() instead of mono_cpu_count()
* src/mono/mono/utils/CMakeLists.txt
- Add mono-cgroup.c to the build
* src/mono/mono/utils/memfuncs.c
- Call `getRestrictedPhysicalMemoryLimit()` or `getPhyscalMemoryAvail()`
* src/mono/mono/utils/memfuncs.h
- Add prototypes for the new APIs
* src/mono/mono/utils/mono-cgroup.c
- Code adapted from coreCLR to interrogate sysfs to determine any limitations on memory or CPU
* src/mono/mono/utils/mono-proclib.c
- Add call to `getCpuLimit()`
* src/mono/mono/utils/mono-proclib.h
- Add prototype for the new API
* Correct var type to match usage
* Suggested updates
* * mono-cgroup.c - Adhere to call statement convention - Remove unnecessary cast * mono-proclib.c - Explicit cast
* Convert spaces to tabs
Co-authored-by: Neale Ferguson <neale@sinenomine.net>
|
|
(#74850)
Microsoft.NET.Workload.Emscripten.net6.Manifest-7.0.100 , Microsoft.NET.Workload.Emscripten.net7.Manifest-7.0.100
From Version 7.0.0-rc.2.22424.4 -> To Version 7.0.0-rc.2.22430.5
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
|
|
* Stop coalescing some adjacent Regex atomic loops
We walk concatenations in order to combine adjacent loops, e.g. `a+a+a+` becomes `a{3,}`. We also combine loops with individual items that are compatible, e.g. `a+ab` becomes `a{2,}b`. However, we're doing these operations on atomic loops as well, which is sometimes wrong. Since an atomic loop consumes as much as possible and never gives anything back, combining it with a subsequent loop will end up essentially ignoring any minimum specified in the latter loop. We thus can't combine atomic loops if the second loop has a minimum; this includes the case where the second "loop" is just an individual item.
* Fix auto-atomicity handling of \w and \b
We currently consider \w and \b non-overlapping, which allows a \w loop followed by a \b to be made atomic. The problem with this is that \b is zero-width, and it could be followed by something that does overlap with the \w. When matching at a location that is a word boundary, it is possible the first loop could give up something that matches the subsequent construct, and thus it can't be made atomic. (We could probably restrict this further to still allow atomicity when the first loop has a non-0 lower bound, but it doesn't appear to be worth the complication.)
* Add a few more tests
Co-authored-by: Stephen Toub <stoub@microsoft.com>
|
|
yet another mark stack overflow on another heap, we set a flag on the region, and the containing heap. However, the BGC handling the other heap may have already decided to move on, and may thus not see the flag. (#74814)
Fix is to set the flag on the heap doing the scan rather than the heap containing the object causing the mark stack stack overflow. The thread handling that heap will indeed recheck the flag and rescan if necessary. This necessitates another change because in the concurrent case, we need each BGC thread to enter mark stack overflow scanning if there was a mark stack overflow on its heap. So we need to propagate the per-heap flag to all the heaps.
Fixed another issue for regions where the small_object_segments local variable in background_process_mark_overflow_internal would be set incorrectly in the non-concurrent case. It would be set to FALSE as soon as all the regions for gen 0 are processed.
Co-authored-by: Peter Sollich <petersol@microsoft.com>
|
|
|
|
dotnet-maestro-bot/merge/release/7.0-rc1-to-release/7.0
[automated] Merge branch 'release/7.0-rc1' => 'release/7.0'
|
|
regression tests (#74823)
* Fix incorrect "illegal XML comment chars" check Also adds regression tests
* Rename test method argument
Co-authored-by: Levi Broderick <levib@microsoft.com>
|
|
Incorrect COM interop definition
Fixes #74745
Co-authored-by: Shay Rojansky <roji@roji.org>
|
|
* enable for unix+arm64
* include softwarewritewatch.cpp
* make the unix crst recursive
* enable ww on Unix x64
* enabled card bundles
* comment
Co-authored-by: vsadov <8218165+VSadov@users.noreply.github.com>
|
|
* Update THIRD-PARTY-NOTICES file
* Remove duplicates
|
|
* Fix chinese character in project name
* Adding more tests as suggested by @radical Renaming variable as suggested by @radical
* Update src/mono/wasm/debugger/tests/debugger-test-chinese-char-in-path-ㄨ/debugger-test-chinese-char-in-path-ㄨ.csproj
Co-authored-by: Thays Grazia <thaystg@gmail.com>
Co-authored-by: Ankit Jain <radical@gmail.com>
|
|
(#74591) (#74769)
* Show a warning when an explicit package reference to ILCompiler is added
* Apply suggestions from code review
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
* Fix issue 27239
* Apply suggestions from code review
Co-authored-by: Sven Boemer <sbomer@gmail.com>
* exclude the warning for direct targets file invoke cases
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Co-authored-by: Sven Boemer <sbomer@gmail.com>
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Co-authored-by: Sven Boemer <sbomer@gmail.com>
|
|
NonMsdtcPromoterTests.PSPENonMsdtcGetPromoterTypeMSDTC was triggering
an MSDTC distributed transaction on Windows, but without the proper
checks/resiliency. Moved to OleTxTests.
Fixes #74170
Co-authored-by: Shay Rojansky <roji@roji.org>
|
|
* Fix signature for 64-bit delegate profiling helper
I missed updating the signature of the 64-bit variant here when the
vtable and delegate profiling helpers were originally split up.
Fix #74295
* JIT: Randomly collect 64-bit counts
Add some testing.
* Disable collecting 64 bit counters on 32-bit
This needs some work so disable it for now.
Co-authored-by: Jakob Botsch Nielsen <jakob.botsch.nielsen@gmail.com>
|
|
(#74712)
* do not do shutdown for the main thread
* specialcase the thread that called RhpShutdown instead
Co-authored-by: vsadov <8218165+VSadov@users.noreply.github.com>
|
|
connection/stream event (#74740)
|
|
SpanHelper.T.cs where possible. (#74738)
* Use System.Numerics.IEqualityOperators.op_Equality in SpanHelper.T.cs.
Workaround crash hit by https://github.com/dotnet/runtime/issues/74179
making sure we avoid hitting codepath emitting this null pointer checks.
The full fix includes codegen fixes as well, but will be performed
in separate PR. There are still locations in SpanHelper.T.cs that uses
Equal virtual call on value types that could be managed pointers to
value types, but that code has remained the same for the last
4 years to 15 months and have not hit this issue in the past.
* Re-enable globalization tests disabled in #74433.
Co-authored-by: lateralusX <lateralusx.github@gmail.com>
|
|
* the assert should fail on macOS
* Don't use statfs on Apple systems, as for them it returns version-specific file system ids.
* move mapping to a separate method and reuse it
* minor improvement
Co-authored-by: Adam Sitnik <adam.sitnik@gmail.com>
Co-authored-by: Adam Sitnik <adam.sitnik@microsoft.com>
|
|
* For perf, remove Invoker pattern for fields
* Fix up runtime field layout
* Add missing newline
Co-authored-by: Steve Harter <steveharter@users.noreply.github.com>
|
|
* Adding a regression test for dotnet/performance#2575
* Ensure that the result span is fully initialized.
Co-authored-by: Tanner Gooding <tagoo@outlook.com>
|
|
dotnet/roslyn-analyzers (#74707)
* Update dependencies from https://github.com/dotnet/llvm-project build 20220826.3
runtime.linux-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.linux-musl-x64.Microsoft.NETCore.Runtime.ObjWriter , runtime.linux-x64.Microsoft.NETCore.Runtime.ObjWriter , runtime.osx.11.0-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.osx.10.12-x64.Microsoft.NETCore.Runtime.ObjWriter , runtime.win-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.win-x64.Microsoft.NETCore.Runtime.ObjWriter
From Version 1.0.0-alpha.1.22411.1 -> To Version 1.0.0-alpha.1.22426.3
* Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20220826.2
Microsoft.CodeAnalysis.NetAnalyzers
From Version 7.0.0-preview1.22419.4 -> To Version 7.0.0-preview1.22426.2
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
|
|
Co-authored-by: Anton Lapounov <antonl@microsoft.com>
|
|
* Use the regType for extracting the RegisterType
* Add test case
Co-authored-by: Kunal Pathak <Kunal.Pathak@microsoft.com>
|
|
This reverts commit de32c4466489090fdd41574d1be2945fd03ab7f2.
|
|
To make them resilient in the face of MSDTC flakiness in CI.
Fixes #74120
Co-authored-by: Shay Rojansky <roji@roji.org>
|
|
20220825.1 (#74650)
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.22422.2 -> To Version 11.1.0-alpha.1.22425.1
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
|
|
configs (#74636)
It was only disabled on interpreter.
Closes https://github.com/dotnet/runtime/issues/74049
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
|
|
ConnectWithRevocation_ServerCertWithoutContext_NoStapledOcsp on NativeAoT (#74606)
* Disable ConnectWithRevocation_ServerCertWithoutContext_NoStapledOcsp on NativeAoT
* Disable tests against #70981 instead
Co-authored-by: Radek Zikmund <radekzikmund@microsoft.com>
|
|
Partially reverts https://github.com/dotnet/runtime/pull/68991
When LLVM code calls non-LLVM code it will pass arguments in SIMD
registers which the non-LLVM code doesn't expect
Fixes https://github.com/dotnet/runtime/issues/73454 (issue 1)
Co-authored-by: Aleksey Kliger <alklig@microsoft.com>
|