- 29 9月, 2022 12 次提交
-
-
由 Stephen Toub 提交于
* Move CollectionExtensions to corelib * Add CollectionExtensions.AddRange/InsertRange/CopyTo * Update src/libraries/System.Private.CoreLib/src/System/Collections/Generic/CollectionExtensions.cs Co-authored-by: NEirik Tsarpalis <eirik.tsarpalis@gmail.com> * Update src/libraries/System.Private.CoreLib/src/System/Collections/Generic/CollectionExtensions.cs Co-authored-by: NEirik Tsarpalis <eirik.tsarpalis@gmail.com> Co-authored-by: NEirik Tsarpalis <eirik.tsarpalis@gmail.com>
-
由 Kevin Jones 提交于
-
由 Adeel Mujahid 提交于
* Add custom ResponseFile handler * Move handler to helpers and use in CG2 * Strip leading and trailing quotes from value Co-authored-by: NJon Sequeira <jonsequeira@gmail.com>
-
由 Eric Erhardt 提交于
* Fix DiagnosticSource to work with NativeAOT There were 2 problems: 1. The use of MakeGenericType doesn't work when a property is a ValueType. An app will crash when a listener is enabled and DiagnosticSourceEventSource tries writing values. 2. The properties on KeyValuePair were not being preserved correctly, so the Arguments of the DiagnosticSourceEventSource methods were not being serialized correctly. Add test (and infrastructure) to ensure DiagnosticSource works in a NativeAOT app Fix #75945 * Enable new NativeAotTests in CI - Only run them in Release configuration - Suppress IL2026 warning * Don't run NativeAot published app tests on OSX since it isn't supported Set EventSourceSupport only on the projects that need it.
-
由 Vlad Brezae 提交于
* [mono][interp] Replace sign extending moves to normal moves If the source var doesn't have its address taken. These opcodes are very frequent (even over 5%) and they cannot be optimized out and block copy propagation. * [mono][interp] Add implicit conversions when returning short ints * [mono][interp] Make sure ret.i4.imm correctly handles short int returns
-
由 Will Smith 提交于
* More disasm check CI fixes * Quick fix * More fixes. Force failure. * Update Runtime_34937.cs
-
由 Bruce Forstall 提交于
-
由 Maoni Stephens 提交于
for regions generation size can be 0 since we don't have the gen start object anymore. fixes #76257.
-
由 Anthony Shaw 提交于
Fixes #76291
-
由 David Cantú 提交于
* Use UTF8 encoding on Tar string fields * Slice destination on Checksum * Use Encoding.GetByteCount as fast path * Use escape sequences on hardcoded UTF8 characters * Fix ustar prefix logic and throw if name would be truncated * Address feedback * Fix truncation and prefix logic * Fix nits * Add async tests * Add tests for unseekable streams * Address feedback
-
由 Ken Dale 提交于
-
由 Eirik Tsarpalis 提交于
-
- 28 9月, 2022 24 次提交
-
-
由 Kevin Jones 提交于
Individual KeySizes instances themselves are immutable, so we can re-use instances there. Arrays are mutable, so continue to return a copy of the array each time.
-
由 Will Smith 提交于
* Update disasm-checks documentation with limitations and future improvements * Include not about anchors * Update disasm-checks.md
-
由 Jamie Magee 提交于
Co-authored-by: NJamie Magee <jamie.magee@microsoft.com>
-
由 Peter Sollich 提交于
* Initial version of gradual decommit for WKS. This is the regions version modeled after the behavior of the segments version. Idea is simply to limit the amount of decommitted memory based on the time since the last GC. * Change decommit_step to take a step_milliseconds parameter - this makes the logic for the WKS decommit more straightforward. * Only do decommits at most every 100 milliseconds to limit the number of decommitted regions. * Address code review feedback: disable the logic in decommit_ephemeral_segment_pages for WKS, some changes in distribute_free_regions as a consequence. * Remove unused static field ephemeral_elapsed. * Fix typo in comment.
-
由 Alexander Köplinger 提交于
While looking at https://github.com/dotnet/runtime/pull/76250 I noticed that we were querying the HOME env variable for SpecialFolder.UserProfile but we're already doing that in PersistedFiles.GetHomeDirectory()
-
由 Michał Bryłka 提交于
-
由 Miepee 提交于
#68610 moved `Personal`/`MyDocuments` on Unix systems from HOME to the documents folder. However, it didn't do so for Android systems, which was only noticed after tests later failed. This fixes it.
-
由 Jo Shields 提交于
Closes: #75080
-
由 Zoltan Varga 提交于
[mono][llvm] Avoid making the 'this' variable in gshared methods volatile, the generated llvm code already saves it to separate variable for using during EH. (#76284)
-
由 Tom Deseyn 提交于
* Pass SourceBuild TargetRid and SourceBuildPortable args through the native script. * Rename -packagerid to -distrorid. * Fix init-distro-rid.sh. * Use OutputRid instead of PackageRid. * Drop unnecessary Condition. * Try passing --distrorid as OutputRid. * NativeExport: use PackageRID for AppHostRuntimeIdentifier. * Rename --distrorid to --outputrid. * Fix SourceBuild.props. * Undo changes to init-distro-rid.sh. * Let source-build leg build 'banana-x64' rid. * SourceBuild.props: don't force a RuntimeOS. * SourceBuild.props: set AdditionalRuntimeIdentifierParent. * Build banana.24-x64 instead. * Fix SourceBuild.props. * SourceBuild.props: try fix AdditionalRuntimeIdentifier* usage. * source-build.yml: add runtimeOS parameter. * SourceBuild.props: derive RuntimeOS from NETCoreSdkRuntimeIdentifier. * Undo using NETCoreSdkRuntimeIdentifier. * Update eng/pipelines/common/global-build-job.yml Co-authored-by: NJeremy Koritzinsky <jkoritzinsky@gmail.com> Co-authored-by: NJeremy Koritzinsky <jkoritzinsky@gmail.com>
-
由 Zoltan Varga 提交于
[wasm] Run System.Runtime tests in a deterministic order to work around https://github.com/dotnet/runtime/issues/74302. (#76287)
-
由 Michal Strehovský 提交于
Small quality-of-life improvement since the SDK default means less code to compile and faster compile times.
-
由 Matous Kozak 提交于
-
由 Michal Strehovský 提交于
Contributes to https://github.com/dotnet/runtime/issues/71506.
-
由 Michal Strehovský 提交于
There was a bug in the code that maps accessor names to property names when the method is on an instantiated type. We would incorrectly demangle getters into setters. Also made this do the same thing for events. Also changed the throw to an assert. We don't really want to crash the compiler if there's a bug here.
-
由 Zoltan Varga 提交于
-
由 James S. Wang 提交于
-
由 Tanner Gooding 提交于
* Support containing HWIntrinsics that can operate like a store * Applying formatting patch * Ensure code is properly under #if defined(FEATURE_HW_INTRINSICS) * Resolve an assert in lsrabuild * Update src/coreclr/jit/emitxarch.cpp Co-authored-by: NSingleAccretion <62474226+SingleAccretion@users.noreply.github.com> * Update src/coreclr/jit/codegenlinear.cpp Co-authored-by: NSingleAccretion <62474226+SingleAccretion@users.noreply.github.com>
-
由 Tanner Gooding 提交于
* Refactor Lowering::IsContainableBinaryOp so node checks are simpler * Update Lowering::ContainCheckBinary to check both operands for a commutative oper * Updating Lowering::IsContainableBinaryOp to support some shifted register instructions * Resolving some build failures/asserts * Ensure IsContainableBinaryOp checks IsSafeToContainMem * Use parentNode not node * Ensure shifted register instructions that set flags use the right instruction * Ensure the shift amount is checked for smaller nodes * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: NSingleAccretion <62474226+SingleAccretion@users.noreply.github.com> Co-authored-by: NSingleAccretion <62474226+SingleAccretion@users.noreply.github.com>
-
由 Elinor Fung 提交于
-
由 Qiao Pengcheng 提交于
* [LoongArch64] Fix the assert error for `genSetRegToIcon()` * delete the `genSetRegToIcon()` for LA64.
-
由 Tanner Gooding 提交于
* Ensure CreateScalarUnsafe gets constant handling on Arm64 * Clear constant reg during upper vector save * Apply formatting patch Co-authored-by: NKunal Pathak <Kunal.Pathak@microsoft.com>
-
由 Will Smith 提交于
* Disabling disasm checks under certain testing environments * Add extra linux musl check * Add JitDisasm check back * Remove JitDisasm check * Re-enable musl * Do not run disasm checks under stress modes * Feedback, force a failure * Trying to fix targets * Trying to fix targets * Update Runtime_34937.cs
-
由 Stephen Toub 提交于
- Expand it to all supported types with `Enumerable.Min<T>`/`Max<T>` - Combine Min/Max into a single method using a static abstract interface with generic specialization to differentiate - Use `Vector128<T>` and `Vector256<T>` instead of `Vector<T>` - Improve test coverage
-
- 27 9月, 2022 4 次提交
-
-
由 Zoltan Varga 提交于
[mono][aot] Prefer specific instances instead of gshared for methods containing static virtual calls. (#76033) These calls cannot be resolved at compile time in gshared methods, so they cannot be inlined etc. They are used in perf sensitive BCL code like SpanHelpers. To fix this, modify the AOT compiler so in addition to the gshared versions, it emits specific instances of these methods if possible. This only affects a small subset of gshared methods so it doesn't lead to a noticable code size increase. Fixes https://github.com/dotnet/runtime/issues/75801.
-
由 Sparin 提交于
ANSI string depends on system encoding charset. Unix's implementation of Marshal.StringToHGlobalAnsi encodes in UTF8. UTF8 characters which are out of 8-bit range (otcet) encodes in multiple bytes (otcets). ASCII characters usually are in 0x00-0x7F range but cyrillic and other characters are not. For example, 'Зфыы123;' (eq. 'Pass123$') will be encoded in 12 bytes instead of 8 Fix #76125
-
由 Stephen Toub 提交于
* Improve IPAddress to/from bytes perf Also cleaned up some unnecessary `!`s with `MemberNotNullWhen`. * Address PR feedback to use shifts instead of shuffle And also simplify fallback. * Avoid non-portable cast for big endian
-
由 Andy Ayers 提交于
One more preparatory step before introducing the new phi-based disambiguation. * handle some cases of ambiguous preds better * split out the jump threading pre checks into a helper * properly support updating switch preds * generalize retry logic a bit to handle more cases
-