1. 29 1月, 2021 11 次提交
  2. 28 1月, 2021 24 次提交
    • M
      Fix mono rpm build (#47577) · a471930c
      monojenkins 提交于
      debugger-protocol.h was missing from the tarball
      Co-authored-by: Nakoeplinger <akoeplinger@users.noreply.github.com>
      a471930c
    • J
      8d2a8a85
    • Z
      [wasm] Add ability to link out unused icalls by setting the WasmLinkIcalls... · f2fb2596
      Zoltan Varga 提交于
      [wasm] Add ability to link out unused icalls by setting the WasmLinkIcalls msbuild property. (#44236)
      
      * [wasm] Add ability to link out unused icalls by setting the WasmLinkIcalls msbuild property.
      
      * Address review comments.
      f2fb2596
    • J
      Fix assert on unhandled SIGSEGV (#47538) · 2e67553c
      Jan Vorlicek 提交于
      When SIGSEGV is not handled by .NET runtime (e.g. when it occurs in code
      out of its control), the SIGSEGV handler ends up calling
      DiagnosticServer::Shutdown in the runtime via a registered shutdown callback.
      That method ends up calling Thread::GetFrame, which asserts if the
      current SP is out of a valid range for the regular stack. The problem is
      that SIGSEGV handler is called on an alternate stack and so this
      callback ends up being called on that stack too. That causes this
      assertion to fail, because the current thread is not marked as executing
      on alternate stack, which would skip that assert.
      
      This change fixes it by passing through a bool flag indicating whether
      the callback was called on an alternate stack or not. And in that
      callback, we set the flag on the thread accordingly.
      2e67553c
    • M
      [llvmonly] Fall back to the interpreter for methods with filter clauses. (#47551) · 9dd7bf43
      monojenkins 提交于
      Instead of failing to compile methods with filter clauses, make them
      enter the interpreter.
      Co-authored-by: Nvargaz <vargaz@users.noreply.github.com>
      9dd7bf43
    • M
      1d5516c5
    • J
    • J
      Add Mono EventPipe rundown support. (#47339) · 8c5d4c74
      Johan Lorensson 提交于
      * Add Mono EventPipe rundown support.
      
      Add support into Mono VM emitting rundown events into EventPipe stream.
      All rundown events emitted by CoreClr during EventPipe rundown phase
      are now also emitted by Mono, making sure enough meta information
      is available for tooling to correctly resolve callstacks (not yet emitted)
      included in EventPipe events emitted by Mono VM.
      8c5d4c74
    • J
      Prevent IpcTraceTest to hang on test failures. (#47529) · 9f37c52c
      Johan Lorensson 提交于
      If an exception is throwed in IpcTraceTest::Validate readerTask before
      it signals sentinelEventReceived, test will hang on:
      
      sentinelEventReceived.WaitOne();
      
      When hitting this case the error is hard to spot and looks like a
      hanging IPC client, but when looking at it from the runtime side
      you get a correct close of IPC channel and termination of streaming
      thread.
      
      I have hit this in a scenario where we hit an exception deep within
      EventPipeEventSource constructor, in that case due to a runtime issue
      loading a library on Windows, but since the exception is not rethrown
      from the task, no error is seen on client side, the test will just hang
      forever.
      
      With this fix, the test will wait on either the sentinelEventReceived
      or readerTask and if readerTask get signaled due to an exception,
      it will be re-throwed all the way up to RunAndValidateEventCounts
      printing test failure and exception info into the log, simplify the
      debugging of these kind of failures a lot.
      9f37c52c
    • A
      Stop localizing '<Unknown>' and '<In Memory Module>' strings (#47437) · 82bf84c6
      Andy Gocke 提交于
      GetFullyQualifiedName returns special strings for modules without
      paths. Those names are currently localized. To improve predictability,
      this change removes localization for these strings.
      82bf84c6
    • A
      Make the GetAppDomainStaticAddress test more stable (#47454) · b03410d6
      Andrew Au 提交于
      * Make the GetAppDomainStaticAddress test more stable
      
      * fix lock issues in profiler tests
      
      * Code review feedback
      Co-authored-by: NDavid Mason <davmason@microsoft.com>
      b03410d6
    • E
      Resolve ILLink warnings in System.Diagnostics.TraceSource (#47419) · da8129ea
      Eric Erhardt 提交于
      Contributes to #45623
      da8129ea
    • A
      JIT: refactor instrumentation code (#47509) · ba6fb5d9
      Andy Ayers 提交于
      Refactor `fgInstrument` and related methods and classes, so that the strategies
      for block and class instrumentation are clearly separated out, and can be
      varied.
      ba6fb5d9
    • S
      Remove more LINQ from DependencyInjection (#47496) · e4dc8eea
      Stephen Toub 提交于
      e4dc8eea
    • A
      [interp] basic_blocks list improvements (#47505) · 8ec7db17
      Aleksey Kliger (λgeek) 提交于
      * [interp] Add basic blocks in reverse order, then reverse
      
      g_list_append has to repeatedly traverse the list using g_list_last to
      find the last element.
      
      Instead use g_list_prepend to add the new bb to the front of the list
      and then reverse at the end (g_list_reverse is inplace and doesn't allocate)
      
      * [interp] Don't generate basic_blocks list if not generating seq points
      
      Still fill in offset_to_bb, but don't make a list unless needed.
      8ec7db17
    • E
      [Arm64] Implement MultiplyHigh (#47362) · 39d63968
      Egor Chesakov 提交于
      39d63968
    • T
      Activity Status support (#47506) · 974e96bd
      Tarek Mahmoud Sayed 提交于
      * Activity Status support
      
      * Apply the agreed on behavior
      974e96bd
    • N
      [Mono][LLVM][ARM] Implemented Arm64 Abs intrinsic (#47482) · f638a75f
      Nathan Ricci 提交于
      * Implemented AdvSimd Abs intrinsic on arm64
      f638a75f
    • F
      64da821c
    • B
      Enable scripting of SuperPMI collection of crossgen2 compilations (#47513) · e8ffbad9
      Bruce Forstall 提交于
      `superpmi.py collect` has a new `--crossgen2` option that specifies
      to run crossgen2 on all the assemblies specified with the
      `-assemblies` option.
      
      For example:
      ```
      py c:\rt\src\coreclr\scripts\superpmi.py collect --crossgen2 -output_mch_path c:\win-x64-cg2.mch -assemblies c:\rt\artifacts\tests\coreclr\windows.x64.Checked\Tests\Core_Root\System.Private.CoreLib.dll
      ```
      
      There are currently quite a few failures during the replay
      "cleaning" phase with a System.Private.CoreLib collection:
      5654 compilation failures out of 14705 functions, including 100
      JIT asserts.
      
      In contrast, the crossgen(1) collection has 3 failures out
      of 20165 functions.
      
      So, there is some work to be done to make SuperPMI collection
      of crossgen2 compilations work well.
      
      The change in spmirecordhelper.h is to work around what appears to
      be a crossgen2 bug: when the JIT calls `getCallInfo`, sometimes crossgen2
      sets sig.sigInst.methInstCount in the result CORINFO_CALL_INFO to non-zero,
      but it sets sig.sigInst.methInst to `nullptr`, which should be illegal:
      the count indicates how many elements are in the array, so you can?t have a
      null array with a non-zero count. Maybe the JIT doesn?t look at these fields in this
      scenario for some reason, but SPMI tries to serialize/de-serialize the array,
      and was crashing.
      
      Fixes #45909
      e8ffbad9
    • A
      Refactor Socket.SendFile tests and extend coverage (#47479) · 0ff4f4ad
      Anton Firszov 提交于
      Refactor tests in SendFile.cs to utilize SocketTestHelper<T>
      As a result cover some cases which were uncovered before (for example Dispose VS async).
      Add more checks and tests as discussed in #47230.
      0ff4f4ad
    • K
      Minor cleanup for Rfc2898DeriveBytes · 2ecec9ca
      Kevin Jones 提交于
      The _password field is not needed since CryptDeriveKey was not ported
      from the Desktop framework.
      
      Removing the field also allows removing a defensive copy and clearing it
      during disposal.
      2ecec9ca
    • P
      Fix parsing of standard format string (#47353) · ad7a50ea
      Prashanth Govindarajan 提交于
      * BigInteger changes
      
      * sq
      
      * Runtime side unit tests
      
      * Half tests
      
      * Address feedback
      
      * sq
      
      * Move to a ThrowHelper class
      
      * Move to invariant number format
      
      * Move to canonical throw
      
      * sq
      
      * sq
      
      * Fix bad unicode char
      
      * Add the percent tests back
      ad7a50ea
    • P
      Mark list for regions (#46979) · ca7f1994
      Peter Sollich 提交于
      This checkin adapts the mark list logic for regions.
      
      The basic idea is that as plan_phase goes through the regions, it calls get_region_mark_list obtain the mark list for each region.
      
      How get_region_mark_list works is different for WKS and SVR flavors of the GC:
      
       - for WKS, we have a single sorted mark list. Finding the mark list section corresponding to a region is done via binary search in the mark list.
      
       - for SVR, each GC thread, after sorting the mark list, determines where the sections corresponding to all the regions start and end. This is stored in tables mark_list_piece_start and mark_list_piece_end which are now indexed by region number. Later, get_region_mark_list merges the pieces for a region from all heaps. This is very similar to what merge_mark_lists did before.
      ca7f1994
  3. 27 1月, 2021 5 次提交