1. 21 4月, 2021 25 次提交
  2. 20 4月, 2021 15 次提交
    • J
      Mono runtime component infrastructure including EventPipe/DiagnosticsServer as... · 58b25dfa
      Johan Lorensson 提交于
      Mono runtime component infrastructure including EventPipe/DiagnosticsServer as a Mono runtime component. (#50837)
      
      Implementation of Mono runtime component infrastructure, https://github.com/dotnet/runtime/blob/main/docs/design/mono/components.md.
      
      This commit also includes a port of Mono EventPipe/DiagnosticsServer library over to new runtime component infrastructure.
      
      Before all packaging/deploy have been fixed for platforms that will switch over to hosting components as shared libraries, all components will be build and linked using the static linkage scenario outline in document above. Once package and deploy is resolved for dynamic linking scenarios, we will switch this for corresponding platforms in follow up commits.
      58b25dfa
    • L
      Fix EventSource trimmer warning (#51237) · ddaa1c3c
      Lakshan Fernando 提交于
      * eh fix
      
      * test change that inadvertently got checked in earlier
      
      * Suppresses the trimmer warning on TypeAnalysis ctor
      
      * Incorporating FB
      
      * Update src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/DiagnosticSourceEventSource.cs
      Co-authored-by: NEric Erhardt <eric.erhardt@microsoft.com>
      
      * Update src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/DiagnosticSourceEventSource.cs
      Co-authored-by: NEric Erhardt <eric.erhardt@microsoft.com>
      
      * Update src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs
      Co-authored-by: NEric Erhardt <eric.erhardt@microsoft.com>
      
      * Fix DynamicDependency as per PR feedback
      
      * an earlier change got reverted
      
      * fixed proj file netcore app condition check
      
      * fixed NETCORE_ENGINEERING_TELEMETRY build failures
      
      * fixeing another NETCORE_ENGINEERING_TELEMETRY build failures
      
      * Adding RequiresUnreferencedCode to TypeAnalysis ctor instead of suppressing the warning to get FB, not fully fixed
      
      * PR FB and suppressing warnings for safe calls
      
      * propagated the warning all the way up
      
      * CI build break fix for one file
      
      * excluding NativeRTEventSrc from being build in a project
      
      * Missed couple of supppressions on NativeRTEventSrc
      
      * build break fixes
      
      * Trimmer warning fix related to EventSource manifest creation
      
      * incorporate fb
      
      * fix build break in some configs
      
      * comment feedback
      
      * build break
      Co-authored-by: NEric Erhardt <eric.erhardt@microsoft.com>
      ddaa1c3c
    • M
      Mark System.Console APIs as unsupported on Android (#50931) · f9ce10f9
      Maxim Lipnin 提交于
      Annotated public System.Console APIs throwing PNSE on Android.  
      
      Part of #47911.
      f9ce10f9
    • J
    • E
    • A
      Fix SPMI handling of PGO schemas with class profiles (#51521) · 2bc05087
      Andy Ayers 提交于
      SPMI wasn't capturing enough data for PGO schemas that had class profiles,
      leading to replay failures.
      2bc05087
    • K
      Enable superpmi collection for libraries tests (#51507) · f17e0181
      Kunal Pathak 提交于
      * Run SPMI collection on libraries-tests
      
      * Only run for libraries-tests and change GUID
      
      * fix error
      
      * fix the collection name
      
      * fix the timeoutInMinutes
      
      * Download libraries test artifacts
      
      * try to fix the libs+tests artifacts name
      
      * Use artifacts name as is
      
      * Fix the libraries test artifacts name
      
      * Use librares_test.zip
      
      * Modify the filter to unzip all *Tests.dll files
      
      * Revert "Modify the filter to unzip all *Tests.dll files"
      
      This reverts commit b62f7132ec084453495a92a3e336688585366908.
      
      * Try to unzip libraries_zipped
      
      * overwriteExistingFiles=true
      
      * Fix the asset extension
      
      - Also exclude files present in core_root
      
      * fix artifacts name
      
      * remove extra .
      
      * Ignore permission error
      
      * Copy common test files in CORE_ROOT
      
      - And do not copy not *.Tests.dll" for PMI
      
      * Perform collection for all libraries_tests assets
      
      * Add UnicodeEncodeError EH
      
      * Add PermissionError for copy2
      
      * Copy all the test assests to core_root
      
      * Make input_directory readonly
      
      * make ch_mod recursive
      
      * Add option of error_limit to superpmi.py
      
      * Pass -failureLimit flag to parallel mode
      
      * Revert "Only run for libraries-tests and change GUID"
      
      This reverts commit 7f4cdda9cf4f49fc21a354f616a67554f65cd6ea.
      f17e0181
    • T
      Updating Vector<T> to support nint and nuint (#50832) · 17506ca9
      Tanner Gooding 提交于
      * Refactoring GenTreeJitIntrinsic to expose SimdSize and SimdBaseType via methods
      
      * Updating the JIT to pass through the CORINFO_TYPE for hardware intrinsics
      
      * Adding support for Vector<nint> and Vector<nuint> to managed code
      
      * Updating the vector tests to cover nint and nuint
      
      * Recognize Vector<nint> and Vector<nuint> in the JIT
      
      * Updating Vector64/128/256<T> NotSupportedTest metadata to include type name
      
      * Updating the Vector64/128/256<T> tests to have NotSupported validation for nint/nuint
      
      * Splitting ThrowHelper.ThrowForUnsupportedVectorBaseType into separate functions for Numerics vs Intrinsics
      
      * Updating Utf16Utility.Validation to directly use Vector<nuint>
      
      * Don't use the auxiliary type to hold a SIMD type, since it can be trivially pulled from the operand instead
      
      * Split the mono handling for ThrowForUnsupportedVectorBaseType into ThrowForUnsupportedNumericsVectorBaseType and ThrowForUnsupportedIntrinsicsVectorBaseType
      
      * Add basic handling for MONO_TYPE_I and MONO_TYPE_U to simd-intrinsics.c
      
      * Ensure simd-intrinsics.c in Mono handles `MONO_TYPE_I` and `MONO_TYPE_U` on relevant code paths
      
      * Ensure we don't assert when encountering synthesized Vector128<nint> handles
      
      * Applying formatting patch
      
      * Fix the handling for Crc32 and Crc32C on ARM64
      
      * Updating Mono mini-amd64 to handle MONO_TYPE_I and MONO_TYPE_U for SIMD operations
      
      * Handle OP_XCOMPARE.CMP_GE_UN for MONO_TYPE_U
      
      * Handle MONO_TYPE_I and MONO_TYPE_U for Vector types in mini-llvm
      17506ca9
    • J
      Address remaining warnings from DataContractSerialization (#51200) · 989ba287
      Jose Perez Rodriguez 提交于
      * Address remaining warnings from DataContractSerialization
      
      * Refactor MemberTypes declaration
      
      * Remove Unused UnconditionalSuppressMessages
      
      * Addressing some PR Feedback
      
      * Suppress MakeGenericMethod calls in AccessorBuilder
      
      * Suppressing error in NullPrimitiveDataContract constructor
      
      * Suppress other MakeGenericMethod linker warnings
      
      * Address remaining feedback and move trimmer string to DataContract
      
      * Addressing some nits
      
      * Fix typo and remove unnecesary usings
      989ba287
    • J
      HTTP/3: Fix variable length encoding (#51486) · 1f89aba0
      James Newton-King 提交于
      1f89aba0
    • V
      Fix issue #51468 (#51469) · 62d3bac2
      Valentin Grigorev 提交于
      Co-authored-by: NValentin Grigorev <valentin.grigorev@jetbrains.com>
      62d3bac2
    • S
    • C
    • O
      Cleanup memory on error in consoleargs.cpp (#50289) · dc634ccb
      Omair Majid 提交于
      dc634ccb
    • D
      Add ConfigureHostOptions extension method on IHostBuilder (#51410) · 4ab71ae4
      David Pine 提交于
      - Add two `ConfigureHostOptions` extension methods
        - Two overloads exist, per [Maryam's comment](https://github.com/dotnet/runtime/pull/49502/files#r596466330)
      - Add corresponding unit tests to ensure these new methods function correctly 
      
      Fixes #48743
      4ab71ae4