- 25 8月, 2022 22 次提交
-
-
由 Ankit Jain 提交于
* [wasm] Move stable jobs from runtime-staging to runtime - library tests: windows - AOT tests: windows - Debugger tests (chrome): windows, and linux - Wasm.Build.Tests: windows * Move last remaining wasm-firefox tests to runtime too * Move firefox debugger tests to runtime-extra-platforms * Fix browser-eventpipe build ``` src/mono/sample/wasm/browser-eventpipe/Program.cs(80,13): error IDE0074: (NETCORE_ENGINEERING_TELEMETRY=Build) Use compound assignment ```
-
由 Alexander Köplinger 提交于
**BYPASS_SECRET_SCANNING**
-
由 Eric Erhardt 提交于
System.Runtime.Serialization.Schema isn't getting a NuGet package created for it because it doesn't set IsPackable=true.
-
由 Jan Kotas 提交于
This change was attempted before in https://github.com/dotnet/coreclr/pull/23029 and rejected due to performance impact. Things have changed since then that makes it feasible now. Sockets and file I/O do not use pinning feature of Overlapped anymore. They pin memory on their own using `{ReadOnly}Memory<T>.Pin` instead. It means that the async pinned handles are typically not pinning anything. The async pinned handles come with some extra overhead in this common use case. Also, they cause confusion during GC behavior drill downs. This change removes the support for async pinned handles from the GC: - It makes the current most common Overlapped use cheaper. It is hard to measure the impact of eliminating async pinned handles exactly since they are just a small part of the total GC costs. The unified fully managed implementation enabled simplificication of the implementation and reduced allocations. - It gets rid of confusing async pinned handles behavior. The change was actually motivated by a recent discussion with a customer who was surprised by the async pinned handles not pinning anything. They were not sure whether it is expected behavior or whether it is a bug in the diagnostic tools. Micro-benchmarks for pinning feature of Overlapped are going to regress with this change. The regression in a micro-benchmark that runs Overlapped.Pack/Unpack in a tight loop is about 20% for each pinned object. If there is 3rd party code still using the pinning feature of Overlapped, Overlapped.Pack/Unpack is expected to be a tiny part of the end-to-end async flow and the regression for end-to-end scenarios is expected to be in noise range.
-
由 Meri Khamoyan 提交于
* #50575 colorbehavior default should disable colors in android/applemobile
-
由 Michal Strehovský 提交于
* Only stack allocate when marshalling Utf8 arguments Fixes #74394. * Review feedback
-
由 Adam Sitnik 提交于
-
由 Jan Vorlicek 提交于
This change enables caching of the last used writeable mapping for W^X. It was originally disabled by an ifdef, but after we've turned W^X on by default, performance tests have shown a regression in some regex tests. I have investigated those and found that they do excessive amount of jitting (around 50000 methods). Enabling the caching of the last used writeable mapping fixes the regression completely. The caching implementation was present in the sources ever since I've implemented the W^X stuff, but if was disabled by an ifdef. So this change just defines the related symbol and enables the code. The caching basically just keeps a writeable mapping after unmapping until the next mapping request arrives, so it gives an opportunity to reuse it in case of series of mappings of sequential range of executable memory, which happens e.g. in the case mentioned.
-
由 Simon Rozsival 提交于
* WIP: add gRPC tests * Fix AOT and trimming * WIP * Implement IncludeNetworkSecurityConfig * Use IncludeNetworkSecurityConfig * Fix gRPC test * Avoid git checkout * Remove unnecessary code * WIP: start working on CI configuration * Remove WinHttpHandler * Fix problem with SSL * Change server host * Setup CI (#1) * Get Docker container building & exported via test build * Changes * Add missing pfx certificate * changes * cleanup Co-authored-by: NSimon Rozsival <simon@rozsival.com> * Use tls * Update yml * Revert changes to the mono Android sample app * Bump android image version * Bump image version * Enable TLS * Remove hardcoded package versions * Update package versions * Update package versions * Rename pipeline * Move interop tests website dependencies versions to Versions.props * Add cred scan supression for the interop test server private key * Fix licenses * Remove dependencies * Fix path to Versions.props * Remove unnecessary dependency version * Fix building docker image * Change pfx password Co-authored-by: NJo Shields <directhex@apebox.org>
-
由 Peter Sollich 提交于
Working with StressLogAnalyzer I found yet another issue where we are missing an initialization when re-running the analysis - when you add a format string to look for via the -f option, and then later remove it, it's not actually removed, but is still found. (#74491) missing an initialization when re-running the analysis - when you add a format string to look for via the -f option, and then later remove it, it's not actually removed, but is still found. The fix is simply to clear the s_interestingStringTable above the fixed entries.
-
由 Michal Strehovský 提交于
* If we're only building Pri-0 tests, don't try to AOT compile Pri-1 tests. `_WillCLRTestProjectBuild` is the property that checks for that. * Targeting pack references get injected in a way that the compiler targets don't see. The compiler targets are written for publish scenarios but we're not doing a publish. Fixes #68394
-
由 Steve Molloy 提交于
-
由 Anton Lapounov 提交于
-
由 Aaron Robinson 提交于
* Remove all non-functional/non-informational uses of mscorlib.
-
由 Ankit Jain 提交于
* [wasm] Use explicity allowed ports with playwright, on linux too Fixes https://github.com/dotnet/runtime/issues/72436 . * [wasm] Quote path, and arguments for wasm app host Fixes use of app host on windows, when it's installed in `c:\program files`. * Update BrowserRunner.cs
-
由 Aleksey Kliger (λgeek) 提交于
Due to rearranging the logic in #64102 we already inflated the interfaces that are generic instances. Inflating again is wrong and will use the wrong generic context. * use member access, not type punning * Add regression test for #70190 * Assert that overrides are already inflated how we expect * remove unused var * Remove one more inflate, there's nothing to do In https://github.com/dotnet/runtime/pull/64102#discussion_r790019545 we concluded that this branch is never taken. * Add link to issue for failing tests
-
由 Tanner Gooding 提交于
-
由 Pavel Savara 提交于
-
由 Tomáš Rylek 提交于
In my change adding support for default static virtual interface method implementations I made a subtle bug that caused behavioral change for some pre-existing constrained virtual calls that newly started to require runtime lookup. This is unnecessary and perf-negative, I have modified the code so that my change kicks in only for static virtual methods. Thanks Tomas
-
由 SingleAccretion 提交于
* Add a test * Allow SIMD-returning calls as arguments As of this change we handle all relevant ABI scenarios. 1) Windows x64: - SIMD8: returned and passed as "TYP_LONG", fine. - SIMD12 / SIMD16 / SIMD32: returned and passed via a return buffer, fine. 2) Unix x64: - SIMD8: returned and passed in one FP register, fine. - SIMD12 / SIMD16, Vector4: returned and passed in two FP registers, fine. - SIMD16, Vector128 / SIMD32: returned and passed via a return buffer, fine. 3) x86: - SIMD8: can be returned via two registers or a return buffer (and is always passed on stack), both are fine. - SIMD12/SIMD16/SIMD32: returned via a return buffer, passed on stack, fine. 4) ARM64: - SIMD8, Vector2: returned in two FP registers (and passed as such or "TYP_LONG" under Windows varargs), fine. - SIMD8, Vector64: returned in one FP register, can be passed as such or as "TYP_LONG" under Windows varargs. The latter case is now handled correctly in "Lowering::LowerArg". - SIMD12: returned in three FP registers, passed as such or in two integer registers under Windows varargs, fine. - SIMD16, Vector4: returned in four FP registers, passed as such, or in two integer registers under Windows varargs, fine. - SIMD16, Vector128: returned in one FP register, passed as such, or in two integer registers under Windows varargs, fine (morph will decompose the varargs case into a `FIELD_LIST` via a temp).
-
由 Jeremy Koritzinsky 提交于
-
由 DeepakRajendrakumaran 提交于
Details: Previously ISA flags were represented as bits in a 64 bit variable. This limited the total number of possible ISAs to 64. This change modifies this and starts using an array of 64 bit vars to store ISA flags. The main changes are in InstructionSetGenerator.cs. This drives a lot of other changes in this commit which are generated files.
-
- 24 8月, 2022 18 次提交
-
-
由 Jan Vorlicek 提交于
* Improve windows hardware exception handling performance With my recent change that modified hardware exception handling so that the related managed exception is thrown directly from the vectored exception handler, the performance of handling such exceptions have regressed. Several exception handling dotnet/performance microbenchmarks have regressed upto 15%. The reason for the regression was the larger number of stack frames between the exception raising and the actual handler frame. With a recent change that @AntonLapounov has made to fix process corrupting exceptions handling, the regression went down to 8%. This change moves the location where we raise the exception down to the ClrVectoredExceptionHandlerShim, which means to the closest possible frame to the managed code. This gets rid of the regression completely.
-
由 Eirik Tsarpalis 提交于
* Expose JsonSerializer.IsReadOnly and MakeReadOnly() APIs. * Address feedback
-
由 SingleAccretion 提交于
* Add GenTreeCast::IsZeroExtending * Cast descriptor support * XARCH support * ARM/ARM64 support TODO: consider using a dedicated IND_EXT oper for ARM/ARM64 instead of containment. This would allow us to cleany handle all indirections. It would not mean we'd give up on the casts containment, as we'd still need to handle the "reg optional" case. IND_EXT will be much like an ordinary IND, but have a "source" and "target" types. The "target" type would always be int/long, while "source" could be of any integral type. This design would be a bit more natural, and nicely separable from casts. However, the main problem with the current state of things, apart from the fact codegen of indirections is tied strongly to "GenTreeIndir", is the fact that changing type of the load can invalidate LEA containment. One would think this is solvable with some tricks, like re-running containment analysis on an indirection after processing the cast, but ARM64 codegen doesn't support uncontained LEAs in some cases. A possible solution to that problem is uncontaining the whole address tree. That would be messy, but ought to work. An additional complication is that these trees can contain a lot of contained operands as part of ADDEX and BFIZ, so what would have to be done first is the making of these into proper EXOPs. In any case, this is all future work.
-
由 Simon Rozsival 提交于
-
由 Meri Khamoyan 提交于
This reverts commit ad366f29.
-
由 Michal Strehovský 提交于
The name of the method was a lie. The comment was a lie.
-
由 Aleksey Kliger (λgeek) 提交于
* [mini] double quote linker path in defined(LD_NAME) case In https://github.com/dotnet/runtime/commit/e71a9583b4d6c9bd97edd87cda7f98f232f63530 we started setting a default `LD_NAME` for x86 non-mach targets Fixes Android x86 builds that specify a `tool_prefix` with spaces in it * also add an "llvm_only" branch to the defined(LD_NAME) case
-
由 Pavel Savara 提交于
- new sample for DLLImport on wasm - license headers - refactor withModuleConfig to advanced sample - removed withConsoleForwarding from samples
-
由 Pavel Savara 提交于
-
由 Jeremy Koritzinsky 提交于
-
由 Dan Moseley 提交于
-
由 Alexander Köplinger 提交于
* [mono] Disable failing Globalization and Transactions tests The System.Transactions.Tests.OleTxTests aren't supported by Mono on Windows: https://github.com/dotnet/runtime/issues/74187 The System.Globalization test failure is a real issue that is being investigated: https://github.com/dotnet/runtime/issues/74179 * Disable InvariantMode tests as well
-
由 Jeremy Koritzinsky 提交于
-
由 Bruce Forstall 提交于
In stress scenarios with inconsistent weights, it was possible to change the condition weight from zero to non-zero without resetting the "rarely run" bit. Use `inheritWeight()` to set the weight, which handles this case. Fixes #74218
-
由 Bruce Forstall 提交于
This makes it easier to use `superpmi.py collect` to collect repro cases of JIT asserts or crashes (as a follow up to #69494). Remove switch `--skip_clean_and_verify_step` and add `--clean` to specifically request the collection be cleaned (and verified). The `--clean` switch is added to the CI collection jobs.
-
由 Mike McLaughlin 提交于
* Add faster EnumMemoryRegion with less memory usage Issue: https://github.com/dotnet/runtime/issues/72148 Instead of drilling down into all the individual MT/MD/EEClass, etc. data structures, add the LoaderAllocator/LoaderHeaps regions directly. Add new CLRDATA_ENUM_MEM_HEAP2 flag for the fast path. To reduce risk of incomplete core dumps this is enabled by the COMPlus_EnableFastHeapDumps env var. This env var is only looked at by the Linux/MacOS createdump. It is currently ignored on Windows. The new HEAP2 flag is works when passed to the EnumMemoryRegions API on Windows but createdump can't set it because MiniDumpWriteDump in dbghelp.dll loads/calls the DAC API. Fix MacOS dlopen error message
-
由 Thays Grazia 提交于
-
由 Alexander Köplinger 提交于
https://github.com/dotnet/RUNTIME/pull/74433.patch works but https://github.com/dotnet/runtime/pull/74433.patch leads to 404, opened a ticket with GitHub: `#1757301`
-